Enable Apparmor for fluentd
Change-Id: I6b759beff9fd3166a9868a4d71319836f272bc25
This commit is contained in:
committed by
diwakar thyagaraj
parent
4f30b1361e
commit
a3110abd66
@@ -100,6 +100,7 @@ spec:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "fluentd" "containerNames" (list "fluentd") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
{{ dict "envAll" $envAll "application" "fluentd" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
|
||||
serviceAccountName: {{ $rcControllerName | quote }}
|
||||
|
||||
11
fluentd/values_overrides/apparmor.yaml
Normal file
11
fluentd/values_overrides/apparmor.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
fluentd:
|
||||
fluentd: runtime/default
|
||||
fluentd-daemonset-fluentd-exporter:
|
||||
fluentd-exporter: runtime/default
|
||||
init: runtime/default
|
||||
monitoring:
|
||||
prometheus:
|
||||
enabled: true
|
||||
Reference in New Issue
Block a user