diff --git a/helm/charts/hydra/templates/job-migration.yaml b/helm/charts/hydra/templates/job-migration.yaml index fa14fcf020..24014dac15 100644 --- a/helm/charts/hydra/templates/job-migration.yaml +++ b/helm/charts/hydra/templates/job-migration.yaml @@ -21,6 +21,11 @@ metadata: helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded" spec: template: + {{- with .Values.job.annotations }} + metadata: + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} spec: containers: - name: {{ .Chart.Name }}-automigrate diff --git a/helm/charts/keto/templates/job-migration.yaml b/helm/charts/keto/templates/job-migration.yaml index 8a562366ae..a44d194089 100644 --- a/helm/charts/keto/templates/job-migration.yaml +++ b/helm/charts/keto/templates/job-migration.yaml @@ -18,6 +18,11 @@ metadata: helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded" spec: template: + {{- with .Values.job.annotations }} + metadata: + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} spec: containers: - name: {{ .Chart.Name }}-automigrate diff --git a/helm/charts/kratos/templates/job-migration.yaml b/helm/charts/kratos/templates/job-migration.yaml index aa6b5cce6f..4b58f0425c 100644 --- a/helm/charts/kratos/templates/job-migration.yaml +++ b/helm/charts/kratos/templates/job-migration.yaml @@ -18,6 +18,11 @@ metadata: helm.sh/hook-delete-policy: "before-hook-creation" spec: template: + {{- with .Values.job.annotations }} + metadata: + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} spec: containers: - name: {{ .Chart.Name }}-automigrate