summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt McEuen <matt.mceuen@att.com>2018-09-14 17:44:58 -0500
committerMatt McEuen <matt.mceuen@att.com>2018-09-14 17:45:47 -0500
commit0927b6a61cf1c1573dec39f207c30811b6c128bf (patch)
tree0f35f47acdf442632737dc84e2f34f5194438265
parent7755b665b1632c314f24007d2e2f1b39e68e2137 (diff)
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
Notes
Notes (review): Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Code-Review+2: Scott Hussey <sthussey@att.com> Workflow+1: Scott Hussey <sthussey@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 17 Sep 2018 21:08:22 +0000 Reviewed-on: https://review.openstack.org/602782 Project: openstack/airship-divingbell Branch: refs/heads/master
-rw-r--r--divingbell/templates/daemonset-ethtool.yaml2
-rw-r--r--divingbell/templates/daemonset-mounts.yaml2
-rw-r--r--divingbell/templates/daemonset-sysctl.yaml2
-rw-r--r--divingbell/templates/daemonset-uamlite.yaml2
-rwxr-xr-xtools/helm_tk.sh2
5 files changed, 9 insertions, 1 deletions
diff --git a/divingbell/templates/daemonset-ethtool.yaml b/divingbell/templates/daemonset-ethtool.yaml
index 0f2e3d3..3f21328 100644
--- a/divingbell/templates/daemonset-ethtool.yaml
+++ b/divingbell/templates/daemonset-ethtool.yaml
@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24kind: DaemonSet 24kind: DaemonSet
25metadata: 25metadata:
26 name: {{ $daemonset }} 26 name: {{ $daemonset }}
27 annotations:
28 {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27spec: 29spec:
28{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }} 30{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 template: 31 template:
diff --git a/divingbell/templates/daemonset-mounts.yaml b/divingbell/templates/daemonset-mounts.yaml
index e1665cc..fb4fc19 100644
--- a/divingbell/templates/daemonset-mounts.yaml
+++ b/divingbell/templates/daemonset-mounts.yaml
@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24kind: DaemonSet 24kind: DaemonSet
25metadata: 25metadata:
26 name: {{ $daemonset }} 26 name: {{ $daemonset }}
27 annotations:
28 {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27spec: 29spec:
28{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }} 30{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 template: 31 template:
diff --git a/divingbell/templates/daemonset-sysctl.yaml b/divingbell/templates/daemonset-sysctl.yaml
index a4e9d49..b869935 100644
--- a/divingbell/templates/daemonset-sysctl.yaml
+++ b/divingbell/templates/daemonset-sysctl.yaml
@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24kind: DaemonSet 24kind: DaemonSet
25metadata: 25metadata:
26 name: {{ $daemonset }} 26 name: {{ $daemonset }}
27 annotations:
28 {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27spec: 29spec:
28{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }} 30{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 template: 31 template:
diff --git a/divingbell/templates/daemonset-uamlite.yaml b/divingbell/templates/daemonset-uamlite.yaml
index 3b6953e..460cd10 100644
--- a/divingbell/templates/daemonset-uamlite.yaml
+++ b/divingbell/templates/daemonset-uamlite.yaml
@@ -24,6 +24,8 @@ apiVersion: extensions/v1beta1
24kind: DaemonSet 24kind: DaemonSet
25metadata: 25metadata:
26 name: {{ $daemonset }} 26 name: {{ $daemonset }}
27 annotations:
28 {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27spec: 29spec:
28{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }} 30{{ tuple $envAll $daemonset | include "helm-toolkit.snippets.kubernetes_upgrades_daemonset" | indent 2 }}
29 template: 31 template:
diff --git a/tools/helm_tk.sh b/tools/helm_tk.sh
index 6eabfc6..1b49098 100755
--- a/tools/helm_tk.sh
+++ b/tools/helm_tk.sh
@@ -16,7 +16,7 @@
16# Script to setup helm-toolkit and helm dep up the shipyard chart 16# Script to setup helm-toolkit and helm dep up the shipyard chart
17# 17#
18HELM=$1 18HELM=$1
19HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm"} 19HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm-infra"}
20HTK_PATH=${HTK_PATH:-""} 20HTK_PATH=${HTK_PATH:-""}
21DEP_UP_LIST=${DEP_UP_LIST:-"divingbell"} 21DEP_UP_LIST=${DEP_UP_LIST:-"divingbell"}
22 22