Skip to content

Commit

Permalink
fix: make migration extraEnv work through job.extraEnv (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joibel authored Jun 19, 2023
1 parent decac61 commit 8feaa22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/charts/kratos/templates/deployment-kratos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ spec:
name: {{ include "kratos.secretname" . }}
key: dsn
{{- if $migrationExtraEnv }}
{{- toYaml .Values.deployment.extraEnv | nindent 12 }}
{{- toYaml $migrationExtraEnv | nindent 12 }}
{{- end }}
{{- end }}
volumes:
Expand Down
2 changes: 1 addition & 1 deletion helm/charts/kratos/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ spec:
name: {{ include "kratos.secretname" . }}
key: dsn
{{- if $migrationExtraEnv }}
{{- toYaml .Values.deployment.extraEnv | nindent 10 }}
{{- toYaml $migrationExtraEnv | nindent 10 }}
{{- end }}
{{- if .Values.job.lifecycle }}
lifecycle:
Expand Down

0 comments on commit 8feaa22

Please sign in to comment.