Skip to content

Commit

Permalink
fix(analytic): external db host
Browse files Browse the repository at this point in the history
  • Loading branch information
washanhanzi committed Dec 30, 2024
1 parent 17e14e8 commit bfa2666
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions charts/supabase/templates/analytics/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,12 @@ spec:
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}
{{- if .Values.db.enabled }}
- name: DB_HOSTNAME
value: {{ include "supabase.db.fullname" . }}
{{- end }}
{{- if .Values.db.enabled }}
value: {{ include "supabase.db.fullname" . | quote }}
{{- else }}
value: {{ .Values.auth.environment.DB_HOST | quote }}
{{- end }}
- name: DB_PASSWORD
valueFrom:
secretKeyRef:
Expand Down

0 comments on commit bfa2666

Please sign in to comment.