summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Beaver <mb551n@att.com>2018-12-15 12:01:03 -0600
committerMichael Beaver <mb551n@att.com>2018-12-15 12:03:21 -0600
commitcc4eb17aa51e010f2a676e818b1ecbf38e0702f5 (patch)
tree4ed5b42c29680356f9807093fec871dbbcb914b7
parent425d8bdff8b5fb9aadd22bfbf6de727986e7abe0 (diff)
Change static pod template to run as root user
Notes
Notes (review): Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sat, 15 Dec 2018 18:25:21 +0000 Reviewed-on: https://review.openstack.org/625402 Project: openstack/airship-promenade Branch: refs/heads/master
-rw-r--r--promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml b/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml
index 3e6e48b..d122d57 100644
--- a/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml
+++ b/promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml
@@ -51,6 +51,8 @@ spec:
51 terminationMessagePolicy: File 51 terminationMessagePolicy: File
52 - name: armada 52 - name: armada
53 image: {{ config['Genesis:images.armada'] }} 53 image: {{ config['Genesis:images.armada'] }}
54 securityContext:
55 runAsUser: 0
54 command: 56 command:
55 - /bin/bash 57 - /bin/bash
56 - -c 58 - -c
@@ -91,7 +93,7 @@ spec:
91 - name: assets 93 - name: assets
92 mountPath: /etc/genesis/armada/assets 94 mountPath: /etc/genesis/armada/assets
93 - name: auth 95 - name: auth
94 mountPath: /armada/.kube 96 mountPath: /root/.kube
95 - name: ipc 97 - name: ipc
96 mountPath: /ipc 98 mountPath: /ipc
97 - name: log 99 - name: log