Skip to content

Commit

Permalink
chore: upgrade sql migration commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere committed Dec 9, 2024
1 parent 1188d3e commit f6b55ae
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion helm/charts/hydra/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ spec:
{{- if .Values.hydra.automigration.customArgs }}
args: {{- toYaml .Values.hydra.automigration.customArgs | nindent 10 }}
{{- else }}
args: ["migrate", "sql", "-e", "--yes", "--config", "/etc/config/hydra.yaml"]
args:
- "migrate"
- "sql"
- "up"
- "-e"
- "--yes"
- "--config"
- "/etc/config/hydra.yaml"
{{- end }}
env:
{{- if not (empty ( include "hydra.dsn" . )) }}
Expand Down
9 changes: 8 additions & 1 deletion helm/charts/kratos/templates/job-migration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,14 @@ spec:
{{- if .Values.kratos.automigration.customArgs }}
args: {{- toYaml .Values.kratos.automigration.customArgs | nindent 10 }}
{{- else }}
args: ["migrate", "sql", "-e", "--yes", "--config", "/etc/config/kratos.yaml"]
args:
- "migrate"
- "sql"
- "up"
- "-e"
- "--yes"
- "--config"
- "/etc/config/kratos.yaml"
{{- end }}
env:
{{- if not (empty ( include "kratos.dsn" . )) }}
Expand Down

0 comments on commit f6b55ae

Please sign in to comment.