Browse Source

Add release-uuid annotation to pod spec

This adds the release-uuid annotation to the pod spec for all
replication controller templates in the openstack-helm-addons
charts

Change-Id: I040fe3a60d4d10e101238a4d760da14cbb18bf31
Steve Wilkerson 2 months ago
parent
commit
15b5f31291

+ 1
- 0
artifactory/templates/statefulset.yaml View File

@@ -29,6 +29,7 @@ spec:
29 29
       labels:
30 30
 {{ tuple $envAll "artifactory" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
31 31
       annotations:
32
+{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
32 33
         configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
33 34
         configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
34 35
     spec:

+ 4
- 0
mini-mirror/templates/deployment-mini-mirror.yaml View File

@@ -35,6 +35,10 @@ spec:
35 35
     metadata:
36 36
       labels:
37 37
 {{ tuple $envAll "mini-mirror" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
38
+      annotations:
39
+{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
40
+        configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
41
+        configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
38 42
     spec:
39 43
       containers:
40 44
         - name: mini-mirror-api

+ 1
- 0
ranger-agent/templates/deployment-ranger-agent-api.yaml View File

@@ -38,6 +38,7 @@ spec:
38 38
       labels:
39 39
 {{ tuple $envAll "ranger-agent" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
40 40
       annotations:
41
+{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
41 42
         configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
42 43
         configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
43 44
     spec:

+ 1
- 0
ranger-agent/templates/deployment-ranger-agent-engine.yaml View File

@@ -36,6 +36,7 @@ spec:
36 36
       labels:
37 37
 {{ tuple $envAll "ranger-agent" "engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
38 38
       annotations:
39
+{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
39 40
         configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
40 41
         configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
41 42
     spec:

+ 1
- 0
ranger/templates/deployment-ranger-services.yaml View File

@@ -36,6 +36,7 @@ spec:
36 36
       labels:
37 37
 {{ tuple $envAll "ranger" "ranger" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 8 }}
38 38
       annotations:
39
+{{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" | indent 8 }}
39 40
         configmap-bin-hash: {{ tuple "configmap-bin.yaml" . | include "helm-toolkit.utils.hash" }}
40 41
         configmap-etc-hash: {{ tuple "configmap-etc.yaml" . | include "helm-toolkit.utils.hash" }}
41 42
     spec:

Loading…
Cancel
Save