- 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
|
- name: init-log-permissions
|
||||||
image: busybox
|
image: busybox
|
||||||
command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
|
command: ["sh", "-c", "chown -R 1000:1000 /var/log && chmod -R 775 /var/log"]
|
||||||
securityContext:
|
|
||||||
runAsUser: 0
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /var/log
|
- mountPath: /var/log
|
||||||
name: log-storage
|
name: log-storage
|
||||||
|
@ -19,8 +17,6 @@ server:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: log-storage
|
- name: log-storage
|
||||||
mountPath: /var/log/
|
mountPath: /var/log/
|
||||||
securityContext:
|
|
||||||
runAsUser: 1
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: log-storage
|
- name: log-storage
|
||||||
|
|
Loading…
Reference in a new issue