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