- name: init-log-permissions

image: busybox
      command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
      volumeMounts:
        - mountPath: /var/log
          name: log-storage
This commit is contained in:
miwr 2025-03-19 13:24:40 +01:00
parent 80ca890f5f
commit 1938cc8f44

View file

@ -3,8 +3,6 @@ server:
- 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
@ -19,8 +17,6 @@ server:
volumeMounts:
- name: log-storage
mountPath: /var/log/
securityContext:
runAsUser: 1
volumes:
- name: log-storage