Skip to content

Commit

Permalink
fix: add init containers for adjusting ownership on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
moabu committed Jan 13, 2023
1 parent c54f598 commit e157fcb
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,17 @@ spec:
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
- command:
- /bin/chown
- -R
- 1000:1000
- /opt/opendj/config
image: busybox:latest
imagePullPolicy: Always
name: change-config-ownership
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
{{- end }}
{{- with $.Values.image.pullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit e157fcb

Please sign in to comment.