Browse Source

Add release uuid to pods and rc objects (dbell)

This PS adds the ability to attach a release uuid to pods and rc
objects as desired.  This can be used, for example, to force an
artificial manifest change in CICD scenarios, for upgradability
testing purposes.

Change-Id: I2f5279c6983f43288e4ef3cb48898d5a36b33833
changes/82/602782/1
Matt McEuen 10 months ago
parent
commit
0927b6a61c

+ 2
- 0
divingbell/templates/daemonset-ethtool.yaml View File

@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24 24
 kind: DaemonSet
25 25
 metadata:
26 26
   name: {{ $daemonset }}
27
+  annotations:
28
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27 29
 spec:
28 30
 {{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 31
   template:

+ 2
- 0
divingbell/templates/daemonset-mounts.yaml View File

@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24 24
 kind: DaemonSet
25 25
 metadata:
26 26
   name: {{ $daemonset }}
27
+  annotations:
28
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27 29
 spec:
28 30
 {{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 31
   template:

+ 2
- 0
divingbell/templates/daemonset-sysctl.yaml View File

@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24 24
 kind: DaemonSet
25 25
 metadata:
26 26
   name: {{ $daemonset }}
27
+  annotations:
28
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27 29
 spec:
28 30
 {{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 31
   template:

+ 2
- 0
divingbell/templates/daemonset-uamlite.yaml View File

@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24 24
 kind: DaemonSet
25 25
 metadata:
26 26
   name: {{ $daemonset }}
27
+  annotations:
28
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27 29
 spec:
28 30
 {{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 31
   template:

+ 1
- 1
tools/helm_tk.sh View File

@@ -16,7 +16,7 @@
16 16
 # Script to setup helm-toolkit and helm dep up the shipyard chart
17 17
 #
18 18
 HELM=$1
19
-HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm"}
19
+HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm-infra"}
20 20
 HTK_PATH=${HTK_PATH:-""}
21 21
 DEP_UP_LIST=${DEP_UP_LIST:-"divingbell"}
22 22
 

Loading…
Cancel
Save