I'm deploying jenkins on minikube and came upon this errors
helm inspect values stable/jenkins > values.yaml
there is part saying
master:
usePodSecurityContext: true
# Set runAsUser to 1000 to let Jenkins run as non-root user 'jenkins' which exists in 'jenkins/jenkins' docker image.
# When setting runAsUser to a different value than 0 also set fsGroup to the same value:
# runAsUser: <defaults to 0>
# fsGroup: <will be omitted in deployment if runAsUser is 0>
so in my values.yaml when I run helm like this everything works fine: and I can access jenkins on <minikube ip>:32000/login
master:
#runAsUser: 1000 <-----
#fsGroup: 1000 <-----
adminPassword: admin
componentName: jenkins-master
slaveKubernetesNamespace: jenkins
serviceType: NodePort
servicePort: 8080
ingress:
apiVersion: "extensions/v1beta1"
enabled: false
annotations:
kubernetes.io/ingress.class: nginx
but when i unhash the uid and group image has CrashLoopBack / Error
, anyone met that issue know what's the problem ?