Add release uuid annotation to POD spec

Change-Id: I7480f15ba619388c7593d6b9e4a5eff93ee79105
This commit is contained in:
Kumar, Nishant(nk613n)
2019-06-19 13:46:06 -04:00
committed by Nishant Kumar
parent edf2c549ad
commit 0b95ba4d41
3 changed files with 3 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ spec:
labels:
{{ tuple $envAll "maas" "rack" | 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" "maas-rack" "containerNames" (list "maas-rack") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 8 }}