mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 23:44: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>
16 lines
592 B
YAML
16 lines
592 B
YAML
{{- if and (not .Values.deployment.db.enabled) .Values.externalDatabase.enabled .Values.externalDatabase.createAliasService (not (regexMatch "^([0-9]{1,3}\\.){3}[0-9]{1,3}$" (toString .Values.externalDatabase.host))) -}}
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: {{ default "db" .Values.externalDatabase.aliasServiceName }}
|
|
labels:
|
|
{{- include "supabase.labels" . | nindent 4 }}
|
|
spec:
|
|
type: ExternalName
|
|
externalName: {{ .Values.externalDatabase.host | quote }}
|
|
ports:
|
|
- name: postgres
|
|
port: {{ .Values.externalDatabase.port | int }}
|
|
protocol: TCP
|
|
{{- end }}
|