chore: Add Traefik persistent volume permissions workaround
All checks were successful
Container & Helm chart / Linting (push) Successful in 6s
Container & Helm chart / Semantic Release (Dry-run) (push) Successful in 1m4s
Container & Helm chart / Kubernetes Bootstrap Appliance (push) Successful in 36m45s

This commit is contained in:
Danny Bessems 2024-06-10 22:19:29 +10:00
parent 562e0b8167
commit 544f98a8fb

View File

@ -6,7 +6,11 @@
initContainers: initContainers:
- name: volume-permissions - name: volume-permissions
image: busybox:1 image: busybox:1
command: ["sh", "-c", "touch /data/acme.json && chmod -Rv 600 /data/* && chown 65532:65532 /data/acme.json"] command: ["sh", "-c", "touch /data/acme.json; chown 65532 /data/acme.json; chmod -v 600 /data/acme.json"]
securityContext:
runAsNonRoot: false
runAsGroup: 0
runAsUser: 0
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data