File tree Expand file tree Collapse file tree 6 files changed +13
-7
lines changed
Expand file tree Collapse file tree 6 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ spec:
123123 - name : DB_CONNECTOR_HOST
124124 value : http://{{ template "retool.fullname" . }}-dbconnector
125125 - name : DB_CONNECTOR_PORT
126- value : ' 3002 '
126+ value : {{ .Values.dbconnector.port | quote }}
127127 {{- end }}
128128 {{- if .Values.config.dbConnectorTimeout }}
129129 - name : DBCONNECTOR_QUERY_TIMEOUT_MS
Original file line number Diff line number Diff line change @@ -43,15 +43,15 @@ spec:
4343 readinessProbe :
4444 httpGet :
4545 path : {{ .Values.readinessProbe.path }}
46- port : 3002
46+ port : {{ .Values.dbconnector.port }}
4747 initialDelaySeconds : {{ .Values.readinessProbe.initialDelaySeconds }}
4848 timeoutSeconds : {{ .Values.readinessProbe.timeoutSeconds }}
4949 successThreshold : {{ .Values.readinessProbe.successThreshold }}
5050 periodSeconds : {{ .Values.readinessProbe.periodSeconds }}
5151 livenessProbe :
5252 httpGet :
5353 path : {{ .Values.livenessProbe.path }}
54- port : 3002
54+ port : {{ .Values.dbconnector.port }}
5555 initialDelaySeconds : {{ .Values.livenessProbe.initialDelaySeconds }}
5656 timeoutSeconds : {{ .Values.livenessProbe.timeoutSeconds }}
5757 failureThreshold : {{ .Values.livenessProbe.failureThreshold }}
@@ -265,6 +265,6 @@ spec:
265265 ports :
266266 - protocol : TCP
267267 name : http-server
268- port : 3002
269- targetPort : 3002
268+ port : {{ .Values.dbconnector.port }}
269+ targetPort : {{ .Values.dbconnector.port }}
270270{{- end }}
Original file line number Diff line number Diff line change 8787 - name : DB_CONNECTOR_HOST
8888 value : http://{{ template "retool.fullname" . }}-dbconnector
8989 - name : DB_CONNECTOR_PORT
90- value : ' 3002 '
90+ value : {{ .Values.dbconnector.port | quote }}
9191 {{- end }}
9292 {{ if and ( include "retool_version_with_java_dbconnector_opt_out" . ) ( not $.Values.dbconnector.java.enabled ) }}
9393 - name : DISABLE_JAVA_DBCONNECTOR
Original file line number Diff line number Diff line change 8282 - name : DB_CONNECTOR_HOST
8383 value : http://{{ template "retool.fullname" . }}-dbconnector
8484 - name : DB_CONNECTOR_PORT
85- value : ' 3002 '
85+ value : {{ .Values.dbconnector.port | quote }}
8686 {{ end }}
8787 - name : DBCONNECTOR_QUERY_TIMEOUT_MS
8888 {{- if .Values.workflows.dbConnectorTimeout }}
Original file line number Diff line number Diff line change @@ -465,6 +465,9 @@ dbconnector:
465465 postgresPoolMaxSize : 100
466466 httpAgentMaxSockets : 1000
467467
468+ # Which port to listen on. Used for both Pods and Service for dbconnector.
469+ port : 3002
470+
468471 # Extra annotations specific to standalone dbconnector pods.
469472 annotations : {}
470473
Original file line number Diff line number Diff line change @@ -465,6 +465,9 @@ dbconnector:
465465 postgresPoolMaxSize : 100
466466 httpAgentMaxSockets : 1000
467467
468+ # Which port to listen on. Used for both Pods and Service for dbconnector.
469+ port : 3002
470+
468471 # Extra annotations specific to standalone dbconnector pods.
469472 annotations : {}
470473
You can’t perform that action at this time.
0 commit comments