- name: init-log-permissions

image: busybox
      command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
      securityContext:
        runAsUser: 0
      volumeMounts:
        - mountPath: /var/log
          name: log-storage
This commit is contained in:
miwr 2025-03-19 13:20:34 +01:00
parent 18d03cee74
commit 80ca890f5f

View file

@ -1,5 +1,13 @@
server:
extraContainers:
- name: init-log-permissions
image: busybox
command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
securityContext:
runAsUser: 0
volumeMounts:
- mountPath: /var/log
name: log-storage
- name: log-sidecar
image: alpine:latest
command: ["/bin/sh", "-c", "