Change static pod template to run as root user
Change-Id: Ie04a52bec37633ebbd2b1f9e252740575cc80de1
This commit is contained in:
parent
425d8bdff8
commit
cc4eb17aa5
|
@ -51,6 +51,8 @@ spec:
|
|||
terminationMessagePolicy: File
|
||||
- name: armada
|
||||
image: {{ config['Genesis:images.armada'] }}
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
|
@ -91,7 +93,7 @@ spec:
|
|||
- name: assets
|
||||
mountPath: /etc/genesis/armada/assets
|
||||
- name: auth
|
||||
mountPath: /armada/.kube
|
||||
mountPath: /root/.kube
|
||||
- name: ipc
|
||||
mountPath: /ipc
|
||||
- name: log
|
||||
|
|
Loading…
Reference in New Issue