Enable Apparmor to Kibana Completed pods

Change-Id: Idf408846f6a6f4350ce5c78247338cfebb280e38
Signed-off-by: diwakar thyagaraj <diwakar.chitoor.thyagaraj@att.com>
This commit is contained in:
diwakar thyagaraj 2020-05-08 23:00:31 +00:00
parent f8c5d06769
commit 53b5fda1c6
2 changed files with 8 additions and 0 deletions

View File

@ -29,6 +29,11 @@ spec:
metadata:
labels:
{{ tuple $envAll "kibana" "register_kibana_indexes" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ 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" "register-kibana-indexes" "containerNames" (list "register-kibana-indexes" "init") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}
spec:
{{ dict "envAll" $envAll "application" "register_kibana_indexes" | include "helm-toolkit.snippets.kubernetes_pod_security_context" | indent 6 }}
serviceAccountName: {{ $serviceAccountName }}

View File

@ -5,3 +5,6 @@ pod:
kibana: runtime/default
init: runtime/default
apache-proxy: runtime/default
register-kibana-indexes:
register-kibana-indexes: runtime/default
init: runtime/default