File tree Expand file tree Collapse file tree
addons/mysql-cluster/8.0/chart/mysql-cluster Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -156,9 +156,9 @@ spec:
156156 - name : MYSQL_DATABASE
157157 value : {{ .Values.auth.database | quote }}
158158 {{- end }}
159- {{- if and .Values.auth.createDatabase .Values.auth.database }}
159+ {{- if .Values.primary.maxConnectionLimit }}
160160 - name : MAX_CONNECTION_LIMIT
161- value : {{ .Values.maxConnectionLimit | quote }}
161+ value : {{ .Values.primary. maxConnectionLimit | quote }}
162162 {{- end }}
163163 {{- if or (eq .Values.architecture "replication") (eq .Values.architecture "mgr") }}
164164 - name : MYSQL_REPLICATION_MODE
@@ -397,3 +397,4 @@ spec:
397397 selector : {{- include "common.tplvalues.render" (dict "value" .Values.primary.persistence.selector "context" $) | nindent 10 }}
398398 {{- end -}}
399399 {{- end }}
400+
Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ initdbScripts:
182182
183183 echo plugin_load_add='group_replication.so' >> $base_conf_file
184184
185- echo max_connections=$MAX_CONNECTION_LIMIT
185+ echo max_connections=$MAX_CONNECTION_LIMIT >> $base_conf_file
186186
187187# # @param initdbScriptsConfigMap ConfigMap with the initdb scripts (Note: Overrides `initdbScripts`)
188188# #
You can’t perform that action at this time.
0 commit comments