Enable Apparmor to nagios
Change-Id: I5927d32903cabd93b9d78c0c47994a94162deb1c
This commit is contained in:
parent
07c62ddfd5
commit
920bddde64
@ -81,6 +81,7 @@ spec:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "nagios" "containerNames" (list "apache-proxy" "nagios" "init" "define-nagios-hosts") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "monitoring" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
|
8
nagios/values_overrides/apparmor.yaml
Normal file
8
nagios/values_overrides/apparmor.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
nagios:
|
||||
nagios: runtime/default
|
||||
init: runtime/default
|
||||
define-nagios-hosts: runtime/default
|
||||
apache-proxy: runtime/default
|
1
tools/deployment/apparmor/095-nagios.sh
Symbolic link
1
tools/deployment/apparmor/095-nagios.sh
Symbolic link
@ -0,0 +1 @@
|
||||
../osh-infra-monitoring/120-nagios.sh
|
@ -285,6 +285,7 @@
|
||||
- ./tools/deployment/apparmor/080-grafana.sh
|
||||
- ./tools/deployment/apparmor/085-rabbitmq.sh
|
||||
- ./tools/deployment/apparmor/090-elasticsearch.sh
|
||||
- ./tools/deployment/apparmor/095-nagios.sh
|
||||
- ./tools/deployment/apparmor/100-fluentbit.sh
|
||||
- ./tools/deployment/apparmor/110-fluentd-daemonset.sh
|
||||
- ./tools/deployment/apparmor/120-openvswitch.sh
|
||||
|
Loading…
Reference in New Issue
Block a user