From 731deccf05a3a3f77f070f9069ceb36b2488c9a6 Mon Sep 17 00:00:00 2001 From: Sean Eagan Date: Mon, 26 Jul 2021 10:07:36 -0500 Subject: [PATCH] charts: move to helm 3 preferred apis - `helm.sh/hook: test-success` > `helm.sh/hook: test` Signed-off-by: Sean Eagan Change-Id: If7dded45533705ee028e5d6da326ea94a634529d --- charts/coredns/templates/pod-test.yaml | 2 +- charts/etcd/templates/tests/test-etcd-health.yaml | 2 +- charts/haproxy/templates/tests/test-haproxy-health.yaml | 2 +- charts/promenade/templates/tests/test-promenade-api.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/coredns/templates/pod-test.yaml b/charts/coredns/templates/pod-test.yaml index 2030a78e..24fe3f52 100644 --- a/charts/coredns/templates/pod-test.yaml +++ b/charts/coredns/templates/pod-test.yaml @@ -22,7 +22,7 @@ kind: Pod metadata: name: {{ print .Release.Name "-test" }} annotations: - "helm.sh/hook": test-success + "helm.sh/hook": test {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} {{ dict "envAll" $envAll "podName" "coredns" "containerNames" (list "coredns-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }} labels: diff --git a/charts/etcd/templates/tests/test-etcd-health.yaml b/charts/etcd/templates/tests/test-etcd-health.yaml index cc9cef59..cfcca716 100644 --- a/charts/etcd/templates/tests/test-etcd-health.yaml +++ b/charts/etcd/templates/tests/test-etcd-health.yaml @@ -24,7 +24,7 @@ kind: Pod metadata: name: "{{ .Release.Name }}-etcd-test" annotations: - "helm.sh/hook": "test-success" + "helm.sh/hook": "test" scheduler.alpha.kubernetes.io/critical-pod: '' {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} {{ dict "envAll" $envAll "podName" "etcd-test" "containerNames" (list "etcd-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }} diff --git a/charts/haproxy/templates/tests/test-haproxy-health.yaml b/charts/haproxy/templates/tests/test-haproxy-health.yaml index 06407249..d82905dd 100644 --- a/charts/haproxy/templates/tests/test-haproxy-health.yaml +++ b/charts/haproxy/templates/tests/test-haproxy-health.yaml @@ -23,7 +23,7 @@ kind: Pod metadata: name: "{{ .Release.Name }}-haproxy-test" annotations: - "helm.sh/hook": "test-success" + "helm.sh/hook": "test" {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} {{ dict "envAll" $envAll "podName" "kubernetes" "containerNames" (list "haproxy-haproxy-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }} labels: diff --git a/charts/promenade/templates/tests/test-promenade-api.yaml b/charts/promenade/templates/tests/test-promenade-api.yaml index e6732476..ffd8c1ba 100644 --- a/charts/promenade/templates/tests/test-promenade-api.yaml +++ b/charts/promenade/templates/tests/test-promenade-api.yaml @@ -24,7 +24,7 @@ kind: Pod metadata: name: "{{ .Release.Name }}-api-test" annotations: - "helm.sh/hook": "test-success" + "helm.sh/hook": "test" {{ tuple $envAll | include "helm-toolkit.snippets.release_uuid" }} {{ dict "envAll" $envAll "podName" "promenade" "containerNames" (list "init" "promenade-api-test") | include "helm-toolkit.snippets.kubernetes_mandatory_access_control_annotation" | indent 4 }} labels: