Hey I need 600 on priv key and 644 on pub key permissions but any time the pod is restarted it overrites these changes - any though what is causing it? the pod itself has PVC attached to it.
my pvc
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: jenkins-home
namespace: myns
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: gold
and the jenkins is deployed from helm
helm3 show values stable/jenkins > jenkins.yaml
and i pretty much throw everything away for this example except
persistence:
enabled: true
existingClaim: jenkins-home
i create dir /var/jenkins_home/.ssh and put my keys in it, anytime after deployment you delete the pod and new one is spawned - the permissions change