hades-chart/hades/templates/configmap-sql-migrations.yaml
Vaibhav Pathak df359d052c Restructure repo: move chart to hades/ and include MySQL subchart
- Moved helm/hades/* to hades/ to match ArgoCD path: hades
- Included mysql-1.6.9.tgz subchart for ArgoCD dependency resolution
- Fixed sync wave ordering: dbinit wave 0, deployment wave 1
2026-01-05 17:59:13 +05:30

14 lines
369 B
YAML

{{- if .Values.dbInit.enabled }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "hades.fullname" . }}-sql-migrations
labels:
{{- include "hades.labels" . | nindent 4 }}
app.kubernetes.io/component: dbinit
binaryData:
{{- range $path, $_ := .Files.Glob "sql/004_*.sql" }}
{{ base $path }}: {{ $.Files.Get $path | b64enc }}
{{- end }}
{{- end }}