Add release uuid annotation to POD spec

Change-Id: I1de990aa377cff5fcf9ce3918c22e81021521d44
This commit is contained in:
Kumar, Nishant(nk613n) 2019-06-06 00:30:44 -04:00 committed by Nishant Kumar
parent 07b4f61c05
commit 6f608fd8cd
2 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,7 @@ spec:
labels:
{{ tuple $envAll "armada" "api" | 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" }}
spec:

View File

@ -58,6 +58,8 @@ spec:
app: helm
name: tiller
{{ tuple $envAll "tiller" "deploy" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
annotations:
{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
spec:
serviceAccountName: {{ $serviceAccountName }}
containers: