diff --git a/prometheus/templates/statefulset.yaml b/prometheus/templates/statefulset.yaml index 3803544e5..11fb21804 100644 --- a/prometheus/templates/statefulset.yaml +++ b/prometheus/templates/statefulset.yaml @@ -87,7 +87,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" "prometheus" "containerNames" (list "prometheus" "prometheus-perms" "apache-proxy") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} +{{ dict "envAll" $envAll "podName" "prometheus" "containerNames" (list "prometheus" "prometheus-perms" "apache-proxy" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }} spec: {{ dict "envAll" $envAll "application" "api" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }} serviceAccountName: {{ $rcControllerName | quote }} diff --git a/prometheus/values_overrides/apparmor.yaml b/prometheus/values_overrides/apparmor.yaml index 236effcd3..b7a913872 100644 --- a/prometheus/values_overrides/apparmor.yaml +++ b/prometheus/values_overrides/apparmor.yaml @@ -4,4 +4,5 @@ pod: prometheus: prometheus: runtime/default prometheus-perms: runtime/default - apache-proxy: runtime/default \ No newline at end of file + apache-proxy: runtime/default + init: runtime/default \ No newline at end of file