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
|
terminationMessagePolicy: File
|
||||||
- name: armada
|
- name: armada
|
||||||
image: {{ config['Genesis:images.armada'] }}
|
image: {{ config['Genesis:images.armada'] }}
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 0
|
||||||
command:
|
command:
|
||||||
- /bin/bash
|
- /bin/bash
|
||||||
- -c
|
- -c
|
||||||
|
@ -91,7 +93,7 @@ spec:
|
||||||
- name: assets
|
- name: assets
|
||||||
mountPath: /etc/genesis/armada/assets
|
mountPath: /etc/genesis/armada/assets
|
||||||
- name: auth
|
- name: auth
|
||||||
mountPath: /armada/.kube
|
mountPath: /root/.kube
|
||||||
- name: ipc
|
- name: ipc
|
||||||
mountPath: /ipc
|
mountPath: /ipc
|
||||||
- name: log
|
- name: log
|
||||||
|
|
Loading…
Reference in New Issue