Browse Source

Change static pod template to run as root user

Change-Id: Ie04a52bec37633ebbd2b1f9e252740575cc80de1
Michael Beaver 4 months ago
parent
commit
cc4eb17aa5

+ 3
- 1
promenade/templates/roles/genesis/etc/kubernetes/manifests/bootstrap-armada.yaml View File

@@ -51,6 +51,8 @@ spec:
51 51
     terminationMessagePolicy: File
52 52
   - name: armada
53 53
     image: {{ config['Genesis:images.armada'] }}
54
+    securityContext:
55
+      runAsUser: 0
54 56
     command:
55 57
       - /bin/bash
56 58
       - -c
@@ -91,7 +93,7 @@ spec:
91 93
       - name: assets
92 94
         mountPath: /etc/genesis/armada/assets
93 95
       - name: auth
94
-        mountPath: /armada/.kube
96
+        mountPath: /root/.kube
95 97
       - name: ipc
96 98
         mountPath: /ipc
97 99
       - name: log

Loading…
Cancel
Save