Skip to content

Commit

Permalink
Replace relicacount with groupcount (#2139)
Browse files Browse the repository at this point in the history
Co-authored-by: wuxianrong <[email protected]>
  • Loading branch information
Mixficsol and wuxianrong authored Nov 21, 2023
1 parent f2d5e23 commit 533bfb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/kubeblocks_helm/pika-cluster/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
tolerations: {{ . | toYaml | nindent 4 }}
{{- end }}
componentSpecs:
{{- range $i := until (int .Values.replicaCount) }}
{{- range $i := until (int .Values.groupCount) }}
- name: pika-group-{{ add ($i) 1 }} # user-defined
componentDefRef: pika-group # ref clusterDefinition componentDefs.name
monitor: {{ $.Values.monitor.enabled | default false }}
Expand Down
2 changes: 1 addition & 1 deletion tools/kubeblocks_helm/pika-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
nameOverride: ""
fullnameOverride: ""

replicaCount: 2
groupCount: 2

slaveCount: 1

Expand Down

0 comments on commit 533bfb3

Please sign in to comment.