- 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:
parent
80ca890f5f
commit
1938cc8f44
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue