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

This commit is contained in:
Danny Bessems 2024-06-10 22:19:29 +10:00
parent 562e0b8167
commit 544f98a8fb
1 changed files with 5 additions and 1 deletions

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