Merge "Add missing security context template to nagios init container"

This commit is contained in:
Zuul 2020-08-05 19:06:21 +00:00 committed by Gerrit Code Review
commit a6a9146de4
2 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,7 @@ spec:
- name: define-nagios-hosts
{{ tuple $envAll "nagios" | include "helm-toolkit.snippets.image" | indent 10 }}
{{ tuple $envAll $envAll.Values.pod.resources.nagios | include "helm-toolkit.snippets.kubernetes_resources" | indent 10 }}
{{ dict "envAll" $envAll "application" "monitoring" "container" "define_nagios_hosts" | include "helm-toolkit.snippets.kubernetes_container_security_context" | indent 10 }}
command:
- /usr/lib/nagios/plugins/define-nagios-hosts.py
- --object_file_loc

View File

@ -212,6 +212,8 @@ pod:
pod:
runAsUser: 0
container:
define_nagios_hosts:
readOnlyRootFilesystem: false
apache_proxy:
readOnlyRootFilesystem: false
nagios: