File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed
hosting/k8s/helm/templates Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -171,6 +171,17 @@ localhost:5000
171171{ {- end -} }
172172{ {- end } }
173173
174+ { {/*
175+ PostgreSQL host (for wait-for-it script)
176+ */} }
177+ { {- define " trigger-v4.postgres.host" -} }
178+ { {- if .Values.postgres.external -} }
179+ { { .Values.postgres.externalConnection.host } }:{ { .Values.postgres.externalConnection.port } }
180+ { {- else -} }
181+ { { include " trigger-v4.fullname" . } }-postgres:{ { .Values.postgres.primary.service.ports.postgres } }
182+ { {- end -} }
183+ { {- end } }
184+
174185{ {/*
175186Supervisor connection details
176187*/} }
Original file line number Diff line number Diff line change 7777 value : {{ include "trigger-v4.postgres.connectionString" . | quote }}
7878 - name : DIRECT_URL
7979 value : {{ include "trigger-v4.postgres.connectionString" . | quote }}
80+ - name : DATABASE_HOST
81+ value : {{ include "trigger-v4.postgres.host" . | quote }}
8082 - name : REDIS_HOST
8183 value : {{ include "trigger-v4.redis.host" . | quote }}
8284 - name : REDIS_PORT
You can’t perform that action at this time.
0 commit comments