- 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:
parent
18d03cee74
commit
80ca890f5f
1 changed files with 8 additions and 0 deletions
|
@ -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", "
|
||||
|
|
Loading…
Reference in a new issue