Merge "Add Application Armor to elastic-apm"

This commit is contained in:
Zuul 2020-08-07 19:35:35 +00:00 committed by Gerrit Code Review
commit 87d7ddaf56
2 changed files with 9 additions and 0 deletions
elastic-apm-server
templates
values_overrides

@ -66,6 +66,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" "elastic-apm-server" "containerNames" (list "elastic-apm-server" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
replicas: {{ .Values.pod.replicas.elastic_apm_server }}
serviceAccountName: {{ $serviceAccountName }}

@ -0,0 +1,8 @@
---
pod:
mandatory_access_control:
type: apparmor
elastic-apm-server:
init: runtime/default
elastic-apm-server: runtime/default
...