From caa1ff4138ca5ccebcdc5068c8c43706add5c340 Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Sun, 28 May 2023 13:47:21 +0200 Subject: [PATCH] Update _tc_namespace.tpl --- library/common/templates/lib/util/_tc_namespace.tpl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/common/templates/lib/util/_tc_namespace.tpl b/library/common/templates/lib/util/_tc_namespace.tpl index ae137481..18d14422 100644 --- a/library/common/templates/lib/util/_tc_namespace.tpl +++ b/library/common/templates/lib/util/_tc_namespace.tpl @@ -9,6 +9,9 @@ metadata: name: tc-system annotations: "helm.sh/resource-policy": keep + "helm.sh/hook": pre-install + "helm.sh/hook-weight": "-20" + "helm.sh/hook-delete-policy": hook-failed {{- end -}} {{- end -}} {{- end -}}