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