chart: make the prepared import directory owner-writable
CI / chart (push) Successful in 2s
CI / chart-push (push) Successful in 4s
CI / test (push) Successful in 1m47s
CI / image (push) Successful in 3m35s

chown alone keeps the existing mode, so a directory that was not owner-writable
still failed. Apply u+rwX,g+rwX as well.
This commit is contained in:
TapTap committed 2026-11-15 14:40:50 +00:00
1 parent e7704c42ea
commit dd7bbde84d
1 file changed
+3 -1
@@ -35,7 +35,9 @@ spec:
- -c
- |
dir='{{ .Values.media.music.mountPath }}/AudioManager Imports'
mkdir -p "$dir" && chown -R 10001:10001 "$dir" \
mkdir -p "$dir" \
&& chown -R 10001:10001 "$dir" \
&& chmod -R u+rwX,g+rwX "$dir" \
|| echo "AudioManager: cannot prepare $dir; check the music hostPath permissions"
securityContext:
runAsUser: 0