Update bootstrap-platform/jenkins/templates/deployment.yaml
This commit is contained in:
parent
0f2d07ac6f
commit
2f99925a20
|
|
@ -23,6 +23,21 @@ spec:
|
|||
nodeSelector:
|
||||
eks.amazonaws.com/nodegroup: jenkins-ng1
|
||||
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
|
||||
initContainers:
|
||||
- name: fix-jenkins-permissions
|
||||
image: busybox
|
||||
command:
|
||||
- sh
|
||||
- -c
|
||||
- |
|
||||
chown -R 1000:1000 /var/jenkins_home
|
||||
volumeMounts:
|
||||
- name: jenkins-home
|
||||
mountPath: /var/jenkins_home
|
||||
|
||||
containers:
|
||||
- name: jenkins
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue