Skip to content

Commit

Permalink
fix: keto migration labels (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere authored Dec 10, 2021
1 parent e95353b commit 2e136f2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions helm/charts/keto/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
{{- end }}
labels:
{{ include "keto.labels" . | indent 4 }}
{{- with .Values.extraLabels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
{{- with .Values.job.annotations }}
{{- toYaml . | nindent 4 }}
Expand All @@ -18,11 +21,15 @@ metadata:
helm.sh/hook-delete-policy: "before-hook-creation,hook-succeeded"
spec:
template:
{{- with .Values.job.annotations }}
metadata:
annotations:
{{- with .Values.job.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
labels:
{{- with .Values.extraLabels }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.imagePullSecrets }}
imagePullSecrets:
Expand Down

0 comments on commit 2e136f2

Please sign in to comment.