Skip to content

Commit

Permalink
Adding back in the init container for Jenkins
Browse files Browse the repository at this point in the history
  • Loading branch information
danmanners committed Sep 9, 2023
1 parent 2a577e6 commit b2e1f6c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions manifests/workloads/jenkins-oss/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ resources:
requests:
cpu: "1"

# initContainers:
# init-jenkins:
# image: docker.io/library/busybox:stable
# command: ["sh", "-c", "chown -R 1000:1000 /var/jenkins_home"]
# volumeMounts:
# - name: jenkins-home
# mountPath: /var/jenkins_home
# subPath: jenkins-volume
initContainers:
init-jenkins:
image: docker.io/library/busybox:stable
command: ["sh", "-c", "ls -halt /var/jenkins_home && chown -R 1000:1000 /var/jenkins_home"]
volumeMounts:
- name: jenkins-home
mountPath: /var/jenkins_home
# subPath: jenkins-volume

service:
main:
Expand Down

0 comments on commit b2e1f6c

Please sign in to comment.