Merge "Fix placement of privilege escalation in Glance."
This commit is contained in:
commit
1a5ecce63a
@ -71,8 +71,6 @@ spec:
|
||||
{{ if eq .Values.storage "rbd" }}
|
||||
- name: ceph-keyring-placement
|
||||
{{ tuple $envAll "glance_api" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
env:
|
||||
- name: RBD_STORE_USER
|
||||
value: {{ .Values.conf.glance.glance_store.rbd_store_user | quote }}
|
||||
@ -94,6 +92,8 @@ spec:
|
||||
- name: glance-api
|
||||
{{ tuple $envAll "glance_api" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||
{{ tuple $envAll $envAll.Values.pod.resources.api | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
command:
|
||||
- /tmp/glance-api.sh
|
||||
- start
|
||||
|
Loading…
x
Reference in New Issue
Block a user