diff --git a/helm/charts/hydra/templates/job-migration.yaml b/helm/charts/hydra/templates/job-migration.yaml index 5b32be346b..7cf7f02df2 100644 --- a/helm/charts/hydra/templates/job-migration.yaml +++ b/helm/charts/hydra/templates/job-migration.yaml @@ -31,6 +31,8 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: + app.kubernetes.io/name: {{ include "hydra.fullname" . }}-automigrate + app.kubernetes.io/instance: {{ .Release.Name }} {{- with .Values.job.labels }} {{- toYaml . | nindent 8 }} {{- end }} diff --git a/helm/charts/keto/templates/job-migration.yaml b/helm/charts/keto/templates/job-migration.yaml index 9071d3c494..8c94fe603a 100644 --- a/helm/charts/keto/templates/job-migration.yaml +++ b/helm/charts/keto/templates/job-migration.yaml @@ -33,6 +33,8 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} labels: + app.kubernetes.io/name: {{ include "keto.fullname" . }}-automigrate + app.kubernetes.io/instance: {{ .Release.Name }} {{- with $extraLabels }} {{- toYaml . | nindent 8 }} {{- end }}