fix: include all SQL files in dbinit configmap (not just 004_*.sql)
The glob was "sql/004_*.sql" which excluded 000_create_db.sql that creates hades_user. Changed to "sql/*.sql" to include all migration files in alphabetical order. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
6e8b755f38
commit
0c569ec528
@ -9,7 +9,7 @@ metadata:
|
|||||||
annotations:
|
annotations:
|
||||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||||
binaryData:
|
binaryData:
|
||||||
{{- range $path, $_ := .Files.Glob "sql/004_*.sql" }}
|
{{- range $path, $_ := .Files.Glob "sql/*.sql" }}
|
||||||
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
|
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user