Skip to content

Commit

Permalink
fix: helm chart was failing on init container because non root user c…
Browse files Browse the repository at this point in the history
…annot the file owner (#141)

Signed-off-by: Harikrishnan Balagopal <harikrishmenon@gmail.com>
  • Loading branch information
HarikrishnanBalagopal authored Apr 3, 2023
1 parent 72802d4 commit 7dd5a21
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
image: quay.io/konveyor/busybox
command: ["/bin/sh", "-c"]
args:
- chown -R 12345:root /move2kube-api/data && chmod -R 770 /move2kube-api/data
- 'chown -R "$(id -u)":root /move2kube-api/data && chmod -R 770 /move2kube-api/data'
volumeMounts:
- name: common-volume
mountPath: /move2kube-api/data
Expand Down

0 comments on commit 7dd5a21

Please sign in to comment.