From 884416405abb41d90a795b0f37bb24674177ab7f Mon Sep 17 00:00:00 2001 From: Shahrukh Naveed <62017710+SharkyND@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:22:48 -0400 Subject: [PATCH] Added post-upgrade helm hook to data insert job (#7) --- helm/templates/post-install-job.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/templates/post-install-job.yaml b/helm/templates/post-install-job.yaml index 53e637b..2961c5d 100644 --- a/helm/templates/post-install-job.yaml +++ b/helm/templates/post-install-job.yaml @@ -5,7 +5,7 @@ metadata: labels: {{- include "pkgsite.labels" . | nindent 4 }} annotations: - "helm.sh/hook": post-install + "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-weight": "0" "helm.sh/hook-delete-policy": before-hook-creation spec: @@ -64,4 +64,4 @@ spec: {{- with .Values.tolerations }} tolerations: {{- toYaml . | nindent 8 }} - {{- end }} \ No newline at end of file + {{- end }}