[Ironic] Add configmap bin/etc hash to annotations

Make sure ironic conductor pods are restarted automatically with configmap changes.

Change-Id: I08ae650d6117d4d3590028a3f385615623318af8
This commit is contained in:
Vasyl Saienko 2020-05-25 11:28:40 +03:00
parent 3af196f578
commit 9f8f2b8695
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ spec:
{{ tuple $envAll "ironic" "conductor" | 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:
serviceAccountName: {{ $serviceAccountName }}
affinity: