Change static pod template to run as root user

Change-Id: Ie04a52bec37633ebbd2b1f9e252740575cc80de1
This commit is contained in:
Michael Beaver 2018-12-15 12:01:03 -06:00
parent 425d8bdff8
commit cc4eb17aa5
1 changed files with 3 additions and 1 deletions

View File

@ -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