From 627eb49440243ce25cfe197dc13309ac2886b3ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Pedersen?= Date: Tue, 6 Aug 2024 10:53:14 +0200 Subject: [PATCH] Enable reading job annotations for the migrate job again --- charts/migrate/templates/job.yaml | 1 + values.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/charts/migrate/templates/job.yaml b/charts/migrate/templates/job.yaml index 4879b42..ae914d3 100755 --- a/charts/migrate/templates/job.yaml +++ b/charts/migrate/templates/job.yaml @@ -3,6 +3,7 @@ kind: Job metadata: name: {{ include "convoy-migrate.fullname" . }} annotations: + {{- toYaml .Values.jobAnnotations | nindent 4 }} "helm.sh/hook": post-install,post-upgrade "helm.sh/hook-weight": "0" "helm.sh/hook-delete-policy": before-hook-creation diff --git a/values.yaml b/values.yaml index a16caab..4d7c9d0 100755 --- a/values.yaml +++ b/values.yaml @@ -381,6 +381,7 @@ server: migrate: + jobAnnotations: {} image: # -- Repository to be used by to migrate. The latest tag is used by default. It will install before any other services. repository: *image