Browse Source

Merge "Add release uuid to pods and rc objects (drydock)"

Zuul 6 months ago
parent
commit
c38a38fa4c

+ 2
- 0
charts/drydock/templates/deployment.yaml View File

@@ -22,6 +22,8 @@ apiVersion: apps/v1beta1
22 22
 kind: Deployment
23 23
 metadata:
24 24
   name: drydock-api
25
+  annotations:
26
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
25 27
 spec:
26 28
   replicas: {{ .Values.replicas.drydock }}
27 29
 {{ tuple $envAll | include "helm-toolkit.snippets.kubernetes_upgrades_deployment" | indent 2 }}

+ 2
- 0
charts/drydock/templates/job-drydock-db-init.yaml View File

@@ -23,6 +23,8 @@ apiVersion: batch/v1
23 23
 kind: Job
24 24
 metadata:
25 25
   name: drydock-db-init
26
+  annotations:
27
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
26 28
 spec:
27 29
   template:
28 30
     metadata:

+ 2
- 0
charts/drydock/templates/job-drydock-db-sync.yaml View File

@@ -23,6 +23,8 @@ apiVersion: batch/v1
23 23
 kind: Job
24 24
 metadata:
25 25
   name: drydock-db-sync
26
+  annotations:
27
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
26 28
 spec:
27 29
   template:
28 30
     metadata:

+ 1
- 0
charts/drydock/templates/tests/test-drydock-api.yaml View File

@@ -24,6 +24,7 @@ metadata:
24 24
   name: "{{ .Release.Name }}-api-test"
25 25
   annotations:
26 26
     "helm.sh/hook": "test-success"
27
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
27 28
   labels:
28 29
 {{ tuple $envAll "drydock" "api-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
29 30
 spec:

+ 1
- 0
charts/drydock/templates/tests/test-drydock-auth.yaml View File

@@ -25,6 +25,7 @@ metadata:
25 25
   name: "{{ .Release.Name }}-auth-test"
26 26
   annotations:
27 27
     helm.sh/hook: "test-failure"
28
+    {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }}
28 29
   labels:
29 30
 {{ tuple $envAll "drydock" "auth-test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
30 31
 spec:

+ 1
- 1
tools/helm_tk.sh View File

@@ -18,7 +18,7 @@
18 18
 HELM=$1
19 19
 HTK_REPO=${HTK_REPO:-"https://github.com/openstack/openstack-helm-infra"}
20 20
 HTK_PATH=${HTK_PATH:-""}
21
-HTK_STABLE_COMMIT=${HTK_COMMIT:-"274b230dcc8960af4fe44a871addcb5aacef3dba"}
21
+HTK_STABLE_COMMIT=${HTK_COMMIT:-"2fce7e821201a5f578331370703e164d5a932fcc"}
22 22
 DEP_UP_LIST=${DEP_UP_LIST:-"drydock"}
23 23
 BUILD_DIR=${BUILD_DIR:-$(mktemp -d)}
24 24
 

Loading…
Cancel
Save