mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 20:04:31 +00:00
- align app/db cluster defaults for knoe-dev-0 + knoe-dev-cnpg-0 on e2-standard-2\n- harden Supabase deploy flow for cross-cluster DB ILB, GKE storage class, and node selector fallback\n- migrate Helm chart path to knoe-supabase and make external DB host rendering IP-safe\n- disable Kerberos in prod unattended config to prevent Supabase GSS auth failures\n- add Supabase port-forward mappings and DB backup context handling improvements\n\nBuild status: k8s stable Co-authored-by: Junie <junie@jetbrains.com>
8 lines
518 B
YAML
8 lines
518 B
YAML
{{- if and (not .Values.deployment.db.enabled) (not .Values.externalDatabase.enabled) -}}
|
|
{{- fail "Invalid database configuration: set deployment.db.enabled=true (chart-managed Postgres) or externalDatabase.enabled=true (external Postgres)" -}}
|
|
{{- end -}}
|
|
|
|
{{- if and (not .Values.deployment.db.enabled) .Values.externalDatabase.enabled (empty .Values.externalDatabase.host) -}}
|
|
{{- fail "Invalid external database configuration: externalDatabase.host must be set when externalDatabase.enabled=true" -}}
|
|
{{- end -}}
|