Skip to content

Commit

Permalink
fix chown initcontainer vrt-bot (#20)
Browse files Browse the repository at this point in the history
* fix chown in initcontainer and image
  • Loading branch information
jeanmi151 authored Mar 14, 2024
1 parent 7fa501f commit 74409db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vrt-bot/templates/vrtbot-cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ spec:
{{- .Values.volumes | toYaml | nindent 10 }}
initContainers:
- name: create-sourcedir
image: busybox
command: ['sh', '-c', "mkdir -p $SOURCEDIR; chown www-data:www-data $SOURCEDIR"]
image: "{{ .Values.image }}"
command: ['sh', '-c', "mkdir -p $SOURCEDIR; chown app:app $SOURCEDIR"]
volumeMounts:
{{- .Values.volumeMounts | toYaml | nindent 14 }}
env:
Expand Down

0 comments on commit 74409db

Please sign in to comment.