Implement missing security context template for deployment server
This change adds security context template at pod/container level Change-Id: I2180cdf934ce21bc5ae7148f2830d1a8683e82db
This commit is contained in:
parent
9c39f2e328
commit
c57391366a
@ -60,7 +60,7 @@ spec:
|
|||||||
- name: neutron-ironic-agent
|
- name: neutron-ironic-agent
|
||||||
{{ tuple $envAll "neutron_ironic_agent" | include "helm-toolkit.snippets.image" | indent 10 }}
|
{{ tuple $envAll "neutron_ironic_agent" | include "helm-toolkit.snippets.image" | indent 10 }}
|
||||||
{{ tuple $envAll $envAll.Values.pod.resources.ironic_agent | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
{{ tuple $envAll $envAll.Values.pod.resources.ironic_agent | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
|
||||||
{{ dict "envAll" $envAll "application" "neutron" "container" "neutron_ironic_agent" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
{{ dict "envAll" $envAll "application" "neutron_ironic_agent" "container" "neutron_ironic_agent" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
|
||||||
command:
|
command:
|
||||||
- /tmp/neutron-ironic-agent.sh
|
- /tmp/neutron-ironic-agent.sh
|
||||||
- start
|
- start
|
||||||
|
@ -520,6 +520,9 @@ pod:
|
|||||||
neutron_server:
|
neutron_server:
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
readOnlyRootFilesystem: true
|
readOnlyRootFilesystem: true
|
||||||
|
neutron_rpc_server:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
neutron_sriov_agent:
|
neutron_sriov_agent:
|
||||||
pod:
|
pod:
|
||||||
runAsUser: 42424
|
runAsUser: 42424
|
||||||
@ -534,6 +537,10 @@ pod:
|
|||||||
neutron_ironic_agent:
|
neutron_ironic_agent:
|
||||||
pod:
|
pod:
|
||||||
runAsUser: 42424
|
runAsUser: 42424
|
||||||
|
container:
|
||||||
|
neutron_ironic_agent:
|
||||||
|
allowPrivilegeEscalation: false
|
||||||
|
readOnlyRootFilesystem: true
|
||||||
neutron_netns_cleanup_cron:
|
neutron_netns_cleanup_cron:
|
||||||
pod:
|
pod:
|
||||||
runAsUser: 42424
|
runAsUser: 42424
|
||||||
|
Loading…
Reference in New Issue
Block a user