diff --git a/helm/charts/hydra/templates/job-migration.yaml b/helm/charts/hydra/templates/job-migration.yaml index 56cf3e812..24ea19b96 100644 --- a/helm/charts/hydra/templates/job-migration.yaml +++ b/helm/charts/hydra/templates/job-migration.yaml @@ -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" . )) }} diff --git a/helm/charts/kratos/templates/job-migration.yaml b/helm/charts/kratos/templates/job-migration.yaml index dcbc283c9..451d146ac 100644 --- a/helm/charts/kratos/templates/job-migration.yaml +++ b/helm/charts/kratos/templates/job-migration.yaml @@ -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" . )) }}