github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/deploy/clickhouse-cluster/templates/validate.yaml (about)

     1  {{- if .Values.keeper.replicaCount }}
     2    {{- if ne (mod (int .Values.keeper.replicaCount) 2) 1 }}
     3      {{ fail "Zookeeper cluster does not support running with even number replicas." }}
     4    {{- end }}
     5  {{- end }}