File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -99,10 +99,16 @@ spec:
9999 - name : DISABLE_JAVA_DBCONNECTOR
100100 value : " true"
101101 {{ end }}
102- {{- if not (or (hasKey .Values.env "DBCONNECTOR_POSTGRES_POOL_MAX_SIZE") (hasKey .Values.environmentVariables "DBCONNECTOR_POSTGRES_POOL_MAX_SIZE")) }}
102+ {{- $poolMaxSet := false }}
103+ {{- range .Values.environmentVariables }}
104+ {{- if eq .name "DBCONNECTOR_POSTGRES_POOL_MAX_SIZE" }}
105+ {{- $poolMaxSet = true }}
106+ {{- end }}
107+ {{- end }}
108+ {{- if not (or (hasKey .Values.env "DBCONNECTOR_POSTGRES_POOL_MAX_SIZE") $poolMaxSet) }}
103109 - name : DBCONNECTOR_POSTGRES_POOL_MAX_SIZE
104110 value : " 100"
105- {{- end }}
111+ {{- end }}
106112 - name : DBCONNECTOR_QUERY_TIMEOUT_MS
107113 {{- if .Values.workflows.dbConnectorTimeout }}
108114 value : {{ .Values.workflows.dbConnectorTimeout | quote}}
You can’t perform that action at this time.
0 commit comments