From 664d2e4ed3d5d06ab354c51d4b1bc0150be372f2 Mon Sep 17 00:00:00 2001 From: kezhenxu94 Date: Mon, 10 Apr 2023 15:44:20 +0800 Subject: [PATCH] Add init schema job to Helm hooks so that schema can be updated when upgrading deployment (#13898) --- .../templates/job-dolphinscheduler-schema-initializer.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml b/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml index 6a7644d2ce..1944935d7c 100644 --- a/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml +++ b/deploy/kubernetes/dolphinscheduler/templates/job-dolphinscheduler-schema-initializer.yaml @@ -21,7 +21,7 @@ metadata: labels: {{- include "dolphinscheduler.common.labels" . | nindent 4 }} annotations: - "helm.sh/hook": post-install + "helm.sh/hook": post-install,post-upgrade,post-rollback "helm.sh/hook-weight": "1" spec: template: