Skip to content

Commit

Permalink
chore: add envFrom to job as well
Browse files Browse the repository at this point in the history
  • Loading branch information
meysam81 authored May 17, 2024
1 parent eea42f9 commit 0cbd99b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions helm/charts/kratos/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ spec:
{{- if $migrationExtraEnv }}
{{- toYaml $migrationExtraEnv | nindent 10 }}
{{- end }}
{{- if .Values.deployment.environmentSecretsName }}
envFrom:
- secretRef:
name: {{ .Values.deployment.environmentSecretsName }}
{{- end}}
{{- with .Values.kratos.automigration.resources }}
resources:
{{- toYaml . | nindent 10 }}
Expand Down

0 comments on commit 0cbd99b

Please sign in to comment.