Browse Source

Merge "Fix placement of privilege escalation in Glance."

Zuul 1 month ago
parent
commit
1a5ecce63a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      glance/templates/deployment-api.yaml

+ 2
- 2
glance/templates/deployment-api.yaml View File

@@ -71,8 +71,6 @@ spec:
71 71
         {{ if eq .Values.storage "rbd" }}
72 72
         - name: ceph-keyring-placement
73 73
 {{ tuple $envAll "glance_api" | include "helm-toolkit.snippets.image" | indent 10 }}
74
-          securityContext:
75
-            allowPrivilegeEscalation: false
76 74
           env:
77 75
             - name: RBD_STORE_USER
78 76
               value: {{ .Values.conf.glance.glance_store.rbd_store_user | quote }}
@@ -94,6 +92,8 @@ spec:
94 92
         - name: glance-api
95 93
 {{ tuple $envAll "glance_api" | include "helm-toolkit.snippets.image" | indent 10 }}
96 94
 {{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
95
+          securityContext:
96
+            allowPrivilegeEscalation: false
97 97
           command:
98 98
             - /tmp/glance-api.sh
99 99
             - start

Loading…
Cancel
Save