charts: move to helm 3 preferred apis

- `helm.sh/hook: test-success` > `helm.sh/hook: test`

Signed-off-by: Sean Eagan <seaneagan1@gmail.com>
Change-Id: If7dded45533705ee028e5d6da326ea94a634529d
This commit is contained in:
Sean Eagan 2021-07-26 10:07:36 -05:00
parent 9d696ca0a4
commit 731deccf05
4 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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 }}

View File

@ -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:

View File

@ -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: