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