Add Application Armor to Elastic FileBeat
Change-Id: Ifa6eb48e56e1a92d090ea9dbaaaf5890f95ae032
This commit is contained in:
parent
817efe966c
commit
25d03950b0
@ -81,6 +81,7 @@ spec:
|
||||
annotations:
|
||||
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
|
||||
configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
|
||||
{{ dict "envAll" $envAll "podName" "filebeat" "containerNames" (list "filebeat" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
|
||||
spec:
|
||||
serviceAccountName: {{ $serviceAccountName }}
|
||||
{{ if $envAll.Values.pod.tolerations.filebeat.enabled }}
|
||||
|
8
elastic-filebeat/values_overrides/apparmor.yaml
Normal file
8
elastic-filebeat/values_overrides/apparmor.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
pod:
|
||||
mandatory_access_control:
|
||||
type: apparmor
|
||||
filebeat:
|
||||
filebeat: runtime/default
|
||||
init: runtime/default
|
||||
...
|
Loading…
Reference in New Issue
Block a user