File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 144
144
{ {- end -} }
145
145
146
146
147
- { {/*
147
+ { {/*
148
148
Return Image pull secret Names
149
149
Usage:
150
150
{{- include " image.pullSecrets" (dict " pullSecrets" path_to_image_pullSecrets) | nindent 6 } }
@@ -188,7 +188,7 @@ password: {{ randAlphaNum 32 | b64enc | quote }}
188
188
{ {- end -} }
189
189
190
190
191
- { {/*
191
+ { {/*
192
192
Return PriorityClassName
193
193
Usage:
194
194
{{- include " pod.priorityClassName" ( dict " global" .Values.path.to.global.priorityClassName " priorityClassName" .Values.path.to.priorityClassName) | nindent 6 } }
@@ -217,7 +217,7 @@ Raft cluster configuration settings
217
217
{ {- $metada_only_voters := false -} }
218
218
{ {- if not (empty .Values.env.RAFT_METADATA_ONLY_VOTERS) -} }
219
219
{ {- $metada_only_voters = .Values.env.RAFT_METADATA_ONLY_VOTERS -} }
220
- { {- end -} }
220
+ { {- end -} }
221
221
{ {- if empty .Values.env.RAFT_BOOTSTRAP_EXPECT -} }
222
222
{ {- if ge $replicas 10 -} }
223
223
{ {- $voters = 5 -} }
@@ -232,9 +232,10 @@ Raft cluster configuration settings
232
232
{ {- end -} }
233
233
{ {- if empty .Values.env.RAFT_JOIN -} }
234
234
{ {- $nodes := list -} }
235
+ { {- $pod_prefix := " weaviate" -} }
235
236
{ {- range $i := until $voters -} }
236
237
{ {- $node_name := list -} }
237
- { {- $node_name = append $node_name " weaviate " -} }
238
+ { {- $node_name = append $node_name $ pod_prefix -} }
238
239
{ {- $node_name = append $node_name $i -} }
239
240
{ {- $nodes = append $nodes (join " -" $node_name ) -} }
240
241
{ {- end -} }
You can’t perform that action at this time.
0 commit comments