diff --git a/barbican/templates/deployment-api.yaml b/barbican/templates/deployment-api.yaml index 43ac756e84..31871820c2 100644 --- a/barbican/templates/deployment-api.yaml +++ b/barbican/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: barbican-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "barbican" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/barbican/templates/pod-test.yaml b/barbican/templates/pod-test.yaml index 6ab2d908cc..0124613f4b 100644 --- a/barbican/templates/pod-test.yaml +++ b/barbican/templates/pod-test.yaml @@ -32,6 +32,7 @@ metadata: {{ tuple $envAll "barbican" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: serviceAccountName: {{ $serviceAccountName }} nodeSelector: diff --git a/ceilometer/templates/daemonset-compute.yaml b/ceilometer/templates/daemonset-compute.yaml index b5f812658c..686572af0b 100644 --- a/ceilometer/templates/daemonset-compute.yaml +++ b/ceilometer/templates/daemonset-compute.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: ceilometer-compute + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ceilometer" "compute" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ceilometer/templates/deployment-api.yaml b/ceilometer/templates/deployment-api.yaml index fc3cf0892f..2a4c879361 100644 --- a/ceilometer/templates/deployment-api.yaml +++ b/ceilometer/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ceilometer-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ceilometer" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ceilometer/templates/deployment-central.yaml b/ceilometer/templates/deployment-central.yaml index 1fa781fe80..b7a597bfa2 100644 --- a/ceilometer/templates/deployment-central.yaml +++ b/ceilometer/templates/deployment-central.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ceilometer-central + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ceilometer" "central" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ceilometer/templates/deployment-collector.yaml b/ceilometer/templates/deployment-collector.yaml index c85e7ae4df..07c761e97b 100644 --- a/ceilometer/templates/deployment-collector.yaml +++ b/ceilometer/templates/deployment-collector.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ceilometer-collector + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ceilometer" "collector" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ceilometer/templates/deployment-notification.yaml b/ceilometer/templates/deployment-notification.yaml index 0e4296ed70..06fda3df62 100644 --- a/ceilometer/templates/deployment-notification.yaml +++ b/ceilometer/templates/deployment-notification.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ceilometer-notification + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ceilometer" "notification" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ceilometer/templates/job-db-init-mongodb.yaml b/ceilometer/templates/job-db-init-mongodb.yaml index b574bd39e3..692d0c49bf 100644 --- a/ceilometer/templates/job-db-init-mongodb.yaml +++ b/ceilometer/templates/job-db-init-mongodb.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: ceilometer-db-init-mongodb + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: spec: diff --git a/ceilometer/templates/pod-rally-test.yaml b/ceilometer/templates/pod-rally-test.yaml index 370bda8937..9cbf2fdd3a 100644 --- a/ceilometer/templates/pod-rally-test.yaml +++ b/ceilometer/templates/pod-rally-test.yaml @@ -29,6 +29,7 @@ metadata: name: {{ print $envAll.Release.Name "-test" }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: restartPolicy: Never nodeSelector: diff --git a/cinder/templates/cron-job-cinder-volume-usage-audit.yaml b/cinder/templates/cron-job-cinder-volume-usage-audit.yaml index 2347af58fb..5d7ed3c819 100644 --- a/cinder/templates/cron-job-cinder-volume-usage-audit.yaml +++ b/cinder/templates/cron-job-cinder-volume-usage-audit.yaml @@ -27,6 +27,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: cinder-volume-usage-audit + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.volume_usage_audit.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.volume_usage_audit.history.success }} diff --git a/cinder/templates/deployment-api.yaml b/cinder/templates/deployment-api.yaml index 502ec2c785..9213d34fb2 100644 --- a/cinder/templates/deployment-api.yaml +++ b/cinder/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cinder-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "cinder" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/cinder/templates/deployment-backup.yaml b/cinder/templates/deployment-backup.yaml index 89412125d5..d978b3a45b 100644 --- a/cinder/templates/deployment-backup.yaml +++ b/cinder/templates/deployment-backup.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cinder-backup + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "cinder" "backup" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/cinder/templates/deployment-scheduler.yaml b/cinder/templates/deployment-scheduler.yaml index 1682385cc5..c60e13b030 100644 --- a/cinder/templates/deployment-scheduler.yaml +++ b/cinder/templates/deployment-scheduler.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cinder-scheduler + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "cinder" "scheduler" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/cinder/templates/deployment-volume.yaml b/cinder/templates/deployment-volume.yaml index 119b568a74..46d13fd042 100644 --- a/cinder/templates/deployment-volume.yaml +++ b/cinder/templates/deployment-volume.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: cinder-volume + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "cinder" "volume" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/cinder/templates/job-backup-storage-init.yaml b/cinder/templates/job-backup-storage-init.yaml index 10c390b967..dcb756a076 100644 --- a/cinder/templates/job-backup-storage-init.yaml +++ b/cinder/templates/job-backup-storage-init.yaml @@ -52,6 +52,8 @@ apiVersion: batch/v1 kind: Job metadata: name: cinder-backup-storage-init + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/cinder/templates/job-clean.yaml b/cinder/templates/job-clean.yaml index 039731c6f1..6abf0862ac 100644 --- a/cinder/templates/job-clean.yaml +++ b/cinder/templates/job-clean.yaml @@ -56,6 +56,7 @@ metadata: annotations: "helm.sh/hook": pre-delete "helm.sh/hook-delete-policy": hook-succeeded + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/cinder/templates/pod-rally-test.yaml b/cinder/templates/pod-rally-test.yaml index 66b9018815..f24e5aa4e8 100644 --- a/cinder/templates/pod-rally-test.yaml +++ b/cinder/templates/pod-rally-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "cinder" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: restartPolicy: Never nodeSelector: diff --git a/congress/templates/deployment-api.yaml b/congress/templates/deployment-api.yaml index 8f169654f4..d635ce16b5 100644 --- a/congress/templates/deployment-api.yaml +++ b/congress/templates/deployment-api.yaml @@ -24,6 +24,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: congress-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "congress" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/congress/templates/deployment-datasource.yaml b/congress/templates/deployment-datasource.yaml index bafadb82ef..97cff78901 100644 --- a/congress/templates/deployment-datasource.yaml +++ b/congress/templates/deployment-datasource.yaml @@ -24,6 +24,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: congress-datasource-dep + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "congress" "datasource" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/congress/templates/deployment-policy-engine.yaml b/congress/templates/deployment-policy-engine.yaml index 5b64d37c61..77c233fe91 100644 --- a/congress/templates/deployment-policy-engine.yaml +++ b/congress/templates/deployment-policy-engine.yaml @@ -24,6 +24,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: congress-policy-engine-dep + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "congress" "policy_engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/congress/templates/job-ds-create.yaml b/congress/templates/job-ds-create.yaml index 1cde4c0cac..710870afe1 100644 --- a/congress/templates/job-ds-create.yaml +++ b/congress/templates/job-ds-create.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: congress-ds-create + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/congress/templates/pod-test.yaml b/congress/templates/pod-test.yaml index 341f117c00..bad66b8275 100644 --- a/congress/templates/pod-test.yaml +++ b/congress/templates/pod-test.yaml @@ -27,6 +27,7 @@ metadata: {{ tuple $envAll "congress" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: nodeSelector: {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} diff --git a/glance/templates/deployment-api.yaml b/glance/templates/deployment-api.yaml index 9a5836374e..31316c70aa 100644 --- a/glance/templates/deployment-api.yaml +++ b/glance/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: glance-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "glance" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/glance/templates/deployment-registry.yaml b/glance/templates/deployment-registry.yaml index 8f2f9106aa..cf296e7bf9 100644 --- a/glance/templates/deployment-registry.yaml +++ b/glance/templates/deployment-registry.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: glance-registry + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "glance" "registry" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/glance/templates/job-clean.yaml b/glance/templates/job-clean.yaml index 1b1959a528..18bd7be5a8 100644 --- a/glance/templates/job-clean.yaml +++ b/glance/templates/job-clean.yaml @@ -56,6 +56,7 @@ metadata: annotations: "helm.sh/hook": pre-delete "helm.sh/hook-delete-policy": hook-succeeded + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/glance/templates/job-storage-init.yaml b/glance/templates/job-storage-init.yaml index 0eb69ec2b0..9d9562731f 100644 --- a/glance/templates/job-storage-init.yaml +++ b/glance/templates/job-storage-init.yaml @@ -52,6 +52,8 @@ apiVersion: batch/v1 kind: Job metadata: name: glance-storage-init + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/heat/templates/cron-job-engine-cleaner.yaml b/heat/templates/cron-job-engine-cleaner.yaml index ecbab74843..986023fb8b 100644 --- a/heat/templates/cron-job-engine-cleaner.yaml +++ b/heat/templates/cron-job-engine-cleaner.yaml @@ -27,6 +27,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: heat-engine-cleaner + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.engine_cleaner.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.success }} diff --git a/heat/templates/deployment-api.yaml b/heat/templates/deployment-api.yaml index 062c4d7d00..e4799b2ac5 100644 --- a/heat/templates/deployment-api.yaml +++ b/heat/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: heat-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "heat" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/heat/templates/deployment-cfn.yaml b/heat/templates/deployment-cfn.yaml index 9759f1f1ef..81b165a8dd 100644 --- a/heat/templates/deployment-cfn.yaml +++ b/heat/templates/deployment-cfn.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: heat-cfn + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "heat" "cfn" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/heat/templates/deployment-cloudwatch.yaml b/heat/templates/deployment-cloudwatch.yaml index aaec3a2458..a93babae39 100644 --- a/heat/templates/deployment-cloudwatch.yaml +++ b/heat/templates/deployment-cloudwatch.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: heat-cloudwatch + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "heat" "cloudwatch" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/heat/templates/deployment-engine.yaml b/heat/templates/deployment-engine.yaml index 71803bd92d..a68939a0d1 100644 --- a/heat/templates/deployment-engine.yaml +++ b/heat/templates/deployment-engine.yaml @@ -26,6 +26,8 @@ limitations under the License. apiVersion: apps/v1 metadata: name: heat-engine + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "heat" "engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} {{- if .Values.manifests.deployment_engine }} diff --git a/heat/templates/job-ks-user-domain.yaml b/heat/templates/job-ks-user-domain.yaml index da04d782b6..b443a86c33 100644 --- a/heat/templates/job-ks-user-domain.yaml +++ b/heat/templates/job-ks-user-domain.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: heat-domain-ks-user + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/heat/templates/job-trusts.yaml b/heat/templates/job-trusts.yaml index 75008de8a6..f8ece8dab4 100644 --- a/heat/templates/job-trusts.yaml +++ b/heat/templates/job-trusts.yaml @@ -26,6 +26,8 @@ apiVersion: batch/v1 kind: Job metadata: name: heat-trusts + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/heat/templates/pod-rally-test.yaml b/heat/templates/pod-rally-test.yaml index 7cdd5a183a..2db25a300e 100644 --- a/heat/templates/pod-rally-test.yaml +++ b/heat/templates/pod-rally-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "heat" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: nodeSelector: {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} diff --git a/horizon/templates/deployment.yaml b/horizon/templates/deployment.yaml index c6a3bd5d32..fe6b8da2bc 100644 --- a/horizon/templates/deployment.yaml +++ b/horizon/templates/deployment.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: horizon + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "horizon" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/horizon/templates/job-db-sync.yaml b/horizon/templates/job-db-sync.yaml index 980280c0f4..893428cbaa 100644 --- a/horizon/templates/job-db-sync.yaml +++ b/horizon/templates/job-db-sync.yaml @@ -27,6 +27,8 @@ apiVersion: batch/v1 kind: Job metadata: name: horizon-db-sync + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/ironic/templates/deployment-api.yaml b/ironic/templates/deployment-api.yaml index 3c9de76064..9498d58c65 100644 --- a/ironic/templates/deployment-api.yaml +++ b/ironic/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: ironic-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ironic" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/ironic/templates/job-manage-cleaning-network.yaml b/ironic/templates/job-manage-cleaning-network.yaml index 572447952d..b79bca47e1 100644 --- a/ironic/templates/job-manage-cleaning-network.yaml +++ b/ironic/templates/job-manage-cleaning-network.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: ironic-manage-cleaning-network + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/ironic/templates/statefulset-conductor.yaml b/ironic/templates/statefulset-conductor.yaml index 66f3f792dc..073690fdb8 100644 --- a/ironic/templates/statefulset-conductor.yaml +++ b/ironic/templates/statefulset-conductor.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: ironic-conductor + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "ironic" "conductor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/keystone/templates/cron-job-credential-rotate.yaml b/keystone/templates/cron-job-credential-rotate.yaml index 069968c8dd..9249675e99 100644 --- a/keystone/templates/cron-job-credential-rotate.yaml +++ b/keystone/templates/cron-job-credential-rotate.yaml @@ -55,6 +55,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: keystone-credential-rotate + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.credential_rotate.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.credential_rotate.history.success }} diff --git a/keystone/templates/cron-job-fernet-rotate.yaml b/keystone/templates/cron-job-fernet-rotate.yaml index 00e086ab46..a61339ef85 100644 --- a/keystone/templates/cron-job-fernet-rotate.yaml +++ b/keystone/templates/cron-job-fernet-rotate.yaml @@ -56,6 +56,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: keystone-fernet-rotate + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.fernet_rotate.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.fernet_rotate.history.success }} diff --git a/keystone/templates/deployment-api.yaml b/keystone/templates/deployment-api.yaml index cb5e04c97a..c985cad132 100644 --- a/keystone/templates/deployment-api.yaml +++ b/keystone/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: keystone-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "keystone" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/keystone/templates/job-credential-setup.yaml b/keystone/templates/job-credential-setup.yaml index 2eef6a372f..4a212dcb5b 100644 --- a/keystone/templates/job-credential-setup.yaml +++ b/keystone/templates/job-credential-setup.yaml @@ -55,6 +55,8 @@ apiVersion: batch/v1 kind: Job metadata: name: keystone-credential-setup + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/keystone/templates/pod-rally-test.yaml b/keystone/templates/pod-rally-test.yaml index fedb8ff665..d29bc0eb69 100644 --- a/keystone/templates/pod-rally-test.yaml +++ b/keystone/templates/pod-rally-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "keystone" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: restartPolicy: Never serviceAccountName: {{ $serviceAccountName }} diff --git a/magnum/templates/deployment-api.yaml b/magnum/templates/deployment-api.yaml index 4ecc38dee9..8015927f34 100644 --- a/magnum/templates/deployment-api.yaml +++ b/magnum/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: magnum-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "magnum" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/magnum/templates/job-ks-user-domain.yaml b/magnum/templates/job-ks-user-domain.yaml index 6b5ed3e35e..3705e060a5 100644 --- a/magnum/templates/job-ks-user-domain.yaml +++ b/magnum/templates/job-ks-user-domain.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: magnum-domain-ks-user + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/magnum/templates/statefulset-conductor.yaml b/magnum/templates/statefulset-conductor.yaml index f20bcf52fb..2c6f094bac 100644 --- a/magnum/templates/statefulset-conductor.yaml +++ b/magnum/templates/statefulset-conductor.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: magnum-conductor + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "magnum" "conductor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/mistral/templates/deployment-api.yaml b/mistral/templates/deployment-api.yaml index 07b7dc03f4..0b5087c7ed 100644 --- a/mistral/templates/deployment-api.yaml +++ b/mistral/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: mistral-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "mistral" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/mistral/templates/deployment-executor.yaml b/mistral/templates/deployment-executor.yaml index 6948181ece..c66d22fb05 100644 --- a/mistral/templates/deployment-executor.yaml +++ b/mistral/templates/deployment-executor.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: mistral-executor + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "mistral" "executor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/mistral/templates/pod-rally-test.yaml b/mistral/templates/pod-rally-test.yaml index 7155a46168..70f85d96ec 100644 --- a/mistral/templates/pod-rally-test.yaml +++ b/mistral/templates/pod-rally-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "mistral" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: nodeSelector: {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} diff --git a/mistral/templates/statefulset-engine.yaml b/mistral/templates/statefulset-engine.yaml index 56f57333a9..2b8e105ed7 100644 --- a/mistral/templates/statefulset-engine.yaml +++ b/mistral/templates/statefulset-engine.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: mistral-engine + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "mistral" "engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/mistral/templates/statefulset-event-engine.yaml b/mistral/templates/statefulset-event-engine.yaml index 3785e33406..bb2acb3ddc 100644 --- a/mistral/templates/statefulset-event-engine.yaml +++ b/mistral/templates/statefulset-event-engine.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: mistral-event-engine + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "mistral" "event-engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-dhcp-agent.yaml b/neutron/templates/daemonset-dhcp-agent.yaml index f78293bf39..e7d84aabff 100644 --- a/neutron/templates/daemonset-dhcp-agent.yaml +++ b/neutron/templates/daemonset-dhcp-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-dhcp-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "dhcp-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-l3-agent.yaml b/neutron/templates/daemonset-l3-agent.yaml index e0772467ee..ac0a3f70f0 100644 --- a/neutron/templates/daemonset-l3-agent.yaml +++ b/neutron/templates/daemonset-l3-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-l3-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "l3-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-lb-agent.yaml b/neutron/templates/daemonset-lb-agent.yaml index 3dcf7606ef..7730ab4cdc 100644 --- a/neutron/templates/daemonset-lb-agent.yaml +++ b/neutron/templates/daemonset-lb-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-lb-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "neutron-lb-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-metadata-agent.yaml b/neutron/templates/daemonset-metadata-agent.yaml index dfe58fb16e..2a24aa6c36 100644 --- a/neutron/templates/daemonset-metadata-agent.yaml +++ b/neutron/templates/daemonset-metadata-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-metadata-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "metadata-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-ovs-agent.yaml b/neutron/templates/daemonset-ovs-agent.yaml index c0ecbe89e0..34aba2533c 100644 --- a/neutron/templates/daemonset-ovs-agent.yaml +++ b/neutron/templates/daemonset-ovs-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-ovs-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "neutron-ovs-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/daemonset-sriov-agent.yaml b/neutron/templates/daemonset-sriov-agent.yaml index 67f719caec..4b8b6e1dc0 100644 --- a/neutron/templates/daemonset-sriov-agent.yaml +++ b/neutron/templates/daemonset-sriov-agent.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: neutron-sriov-agent + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "neutron-sriov-agent" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/deployment-server.yaml b/neutron/templates/deployment-server.yaml index 527496ebc3..b66467ffd7 100644 --- a/neutron/templates/deployment-server.yaml +++ b/neutron/templates/deployment-server.yaml @@ -30,6 +30,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: neutron-server + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "server" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/neutron/templates/pod-rally-test.yaml b/neutron/templates/pod-rally-test.yaml index 6294824252..15633d1871 100644 --- a/neutron/templates/pod-rally-test.yaml +++ b/neutron/templates/pod-rally-test.yaml @@ -27,6 +27,8 @@ apiVersion: v1 kind: Pod metadata: name: {{ print $envAll.Release.Name "-test" }} + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "neutron" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: diff --git a/nova/templates/cron-job-cell-setup.yaml b/nova/templates/cron-job-cell-setup.yaml index d5dfda5851..66df4dfa51 100644 --- a/nova/templates/cron-job-cell-setup.yaml +++ b/nova/templates/cron-job-cell-setup.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: nova-cell-setup + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.cell_setup.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.cell_setup.history.success }} diff --git a/nova/templates/cron-job-service-cleaner.yaml b/nova/templates/cron-job-service-cleaner.yaml index 70ea5ba226..889cfc4731 100644 --- a/nova/templates/cron-job-service-cleaner.yaml +++ b/nova/templates/cron-job-service-cleaner.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: nova-service-cleaner + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.service_cleaner.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.service_cleaner.history.success }} diff --git a/nova/templates/daemonset-compute.yaml b/nova/templates/daemonset-compute.yaml index d6c0e618e9..850f0b00a8 100644 --- a/nova/templates/daemonset-compute.yaml +++ b/nova/templates/daemonset-compute.yaml @@ -29,6 +29,8 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: nova-compute + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll .Chart.Name $daemonset | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-api-metadata.yaml b/nova/templates/deployment-api-metadata.yaml index 729330084a..dfc994741c 100644 --- a/nova/templates/deployment-api-metadata.yaml +++ b/nova/templates/deployment-api-metadata.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-api-metadata + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "metadata" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-api-osapi.yaml b/nova/templates/deployment-api-osapi.yaml index 65972bc97f..f0aa8059f5 100644 --- a/nova/templates/deployment-api-osapi.yaml +++ b/nova/templates/deployment-api-osapi.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-api-osapi + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "os-api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-conductor.yaml b/nova/templates/deployment-conductor.yaml index 03c9d9bea3..7bf0841f38 100644 --- a/nova/templates/deployment-conductor.yaml +++ b/nova/templates/deployment-conductor.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-conductor + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "conductor" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-consoleauth.yaml b/nova/templates/deployment-consoleauth.yaml index 0e339232d7..10de3fc76c 100644 --- a/nova/templates/deployment-consoleauth.yaml +++ b/nova/templates/deployment-consoleauth.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-consoleauth + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "consoleauth" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-novncproxy.yaml b/nova/templates/deployment-novncproxy.yaml index 549f542eed..85e0e11628 100644 --- a/nova/templates/deployment-novncproxy.yaml +++ b/nova/templates/deployment-novncproxy.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-novncproxy + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "novnc-proxy" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-placement.yaml b/nova/templates/deployment-placement.yaml index 542e780db1..db62d75422 100644 --- a/nova/templates/deployment-placement.yaml +++ b/nova/templates/deployment-placement.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-placement-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "placement" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-scheduler.yaml b/nova/templates/deployment-scheduler.yaml index 3e0c8fcf86..dc8b0d362e 100644 --- a/nova/templates/deployment-scheduler.yaml +++ b/nova/templates/deployment-scheduler.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-scheduler + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "scheduler" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/deployment-spiceproxy.yaml b/nova/templates/deployment-spiceproxy.yaml index 65f6a4f946..65fa900d29 100644 --- a/nova/templates/deployment-spiceproxy.yaml +++ b/nova/templates/deployment-spiceproxy.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: nova-spiceproxy + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "spice-proxy" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/nova/templates/job-cell-setup.yaml b/nova/templates/job-cell-setup.yaml index 8764da10f2..4ad9509a19 100644 --- a/nova/templates/job-cell-setup.yaml +++ b/nova/templates/job-cell-setup.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: nova-cell-setup + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/nova/templates/pod-rally-test.yaml b/nova/templates/pod-rally-test.yaml index 661a4fde37..f7b2e1b778 100644 --- a/nova/templates/pod-rally-test.yaml +++ b/nova/templates/pod-rally-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "nova" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: nodeSelector: {{ .Values.labels.test.node_selector_key }}: {{ .Values.labels.test.node_selector_value }} diff --git a/nova/templates/statefulset-compute-ironic.yaml b/nova/templates/statefulset-compute-ironic.yaml index 1933667229..eb39dd8114 100644 --- a/nova/templates/statefulset-compute-ironic.yaml +++ b/nova/templates/statefulset-compute-ironic.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: StatefulSet metadata: name: nova-compute-ironic + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "nova" "compute" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/rally/templates/job-bootstrap.yaml b/rally/templates/job-bootstrap.yaml index faaac8eb2c..7afee1db67 100644 --- a/rally/templates/job-bootstrap.yaml +++ b/rally/templates/job-bootstrap.yaml @@ -28,6 +28,8 @@ apiVersion: batch/v1 kind: Job metadata: name: rally-bootstrap + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/rally/templates/job-ks-endpoints.yaml b/rally/templates/job-ks-endpoints.yaml index bc2f679078..e258734c85 100644 --- a/rally/templates/job-ks-endpoints.yaml +++ b/rally/templates/job-ks-endpoints.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: rally-ks-endpoints + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/rally/templates/job-ks-service.yaml b/rally/templates/job-ks-service.yaml index 318f7e01e1..fa449bda3b 100644 --- a/rally/templates/job-ks-service.yaml +++ b/rally/templates/job-ks-service.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: rally-ks-service + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/rally/templates/job-manage-db.yaml b/rally/templates/job-manage-db.yaml index bb20c05055..7510e6962d 100644 --- a/rally/templates/job-manage-db.yaml +++ b/rally/templates/job-manage-db.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: rally-manage-db + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/rally/templates/job-run-task.yaml b/rally/templates/job-run-task.yaml index 09f35029f7..ed147573e2 100644 --- a/rally/templates/job-run-task.yaml +++ b/rally/templates/job-run-task.yaml @@ -24,6 +24,8 @@ apiVersion: batch/v1 kind: Job metadata: name: rally-run-task + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: diff --git a/senlin/templates/cron-job-engine-cleaner.yaml b/senlin/templates/cron-job-engine-cleaner.yaml index 8127f19f64..18883e4338 100644 --- a/senlin/templates/cron-job-engine-cleaner.yaml +++ b/senlin/templates/cron-job-engine-cleaner.yaml @@ -27,6 +27,8 @@ apiVersion: batch/v1beta1 kind: CronJob metadata: name: senlin-engine-cleaner + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: schedule: {{ .Values.jobs.engine_cleaner.cron | quote }} successfulJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.success }} diff --git a/senlin/templates/deployment-api.yaml b/senlin/templates/deployment-api.yaml index dcdccc362b..93eb9b859f 100644 --- a/senlin/templates/deployment-api.yaml +++ b/senlin/templates/deployment-api.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: senlin-api + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "senlin" "api" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/senlin/templates/deployment-engine.yaml b/senlin/templates/deployment-engine.yaml index 2f6f8ba126..fd5451541a 100644 --- a/senlin/templates/deployment-engine.yaml +++ b/senlin/templates/deployment-engine.yaml @@ -27,6 +27,8 @@ apiVersion: apps/v1 kind: Deployment metadata: name: senlin-engine + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} labels: {{ tuple $envAll "senlin" "engine" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} spec: diff --git a/senlin/templates/pod-test.yaml b/senlin/templates/pod-test.yaml index 6ac34d1166..4ef78029d4 100644 --- a/senlin/templates/pod-test.yaml +++ b/senlin/templates/pod-test.yaml @@ -31,6 +31,7 @@ metadata: {{ tuple $envAll "senlin" "test" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }} annotations: "helm.sh/hook": test-success + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: serviceAccountName: {{ $serviceAccountName }} nodeSelector: diff --git a/tempest/templates/job-run-tests.yaml b/tempest/templates/job-run-tests.yaml index fd1d8b086a..6f29e1acd6 100644 --- a/tempest/templates/job-run-tests.yaml +++ b/tempest/templates/job-run-tests.yaml @@ -25,6 +25,8 @@ apiVersion: batch/v1 kind: Job metadata: name: tempest-run-tests + annotations: + {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} spec: template: metadata: