Stop removing acme.json

This commit is contained in:
Mathis 2024-01-08 08:40:04 +00:00
parent 40b8d01724
commit c70d31df0c
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ deployment:
initContainers:
- name: volume-permissions
image: busybox:latest@sha256:ba76950ac9eaa407512c9d859cea48114eeff8a6f12ebaa5d32ce79d4a017dd8
command: ["sh", "-c", "rm /data/acme.json; touch /data/acme.json; chown 65532:65532 /data/acme.json; chmod -v 600 /data/acme.json; chown -R 65532:65532 /var/log/traefik"]
command: ["sh", "-c", "touch /data/acme.json; chown 65532:65532 /data/acme.json; chmod -v 600 /data/acme.json; chown -R 65532:65532 /var/log/traefik"]
securityContext:
runAsNonRoot: false
runAsGroup: 0