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