File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
charts/supabase/templates/test Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 1616 - /bin/sh
1717 - -c
1818 - |
19- pg_isready -h $(DB_HOST) -p $(DB_PORT) -U $(DB_USER) || $(echo "\e[0;31mFailed to connect to the database." && exit 1)
19+ pg_isready -h $(DB_HOST) -p $(DB_PORT) -U postgres || $(echo "\e[0;31mFailed to connect to the database." && exit 1)
2020 echo "Database is ready"
2121 env :
2222 - name : DB_HOST
2525 {{- else }}
2626 value : {{ .Values.auth.environment.DB_HOST | quote }}
2727 {{- end }}
28- - name : DB_USER
29- valueFrom :
30- secretKeyRef :
31- {{- if .Values.secret.db.secretRef }}
32- name : {{ .Values.secret.db.secretRef }}
33- key : {{ .Values.secret.db.secretRefKey.username | default "username" }}
34- {{- else }}
35- name : {{ include "supabase.secret.db" . }}
36- key : username
37- {{- end }}
3828 - name : DB_PORT
3929 value : {{ .Values.auth.environment.DB_PORT | quote }}
4030 image : postgres:15-alpine
You can’t perform that action at this time.
0 commit comments