fix(helm): peer port instead of client port

This commit is contained in:
bsctl
2022-08-18 09:25:23 +02:00
committed by Dario Tranchitella
parent 1d6be44edf
commit f9c776bda5

View File

@@ -103,7 +103,7 @@ Comma separated list of etcd endpoints, using the overrides in case of unmanaged
{{- end }}
{{- else if .Values.etcd.overrides.endpoints }}
{{- range $v := .Values.etcd.overrides.endpoints -}}
{{- $list = append $list (printf "%s:%d" $v (int $.Values.etcd.peerApiPort) ) -}}
{{- $list = append $list (printf "%s:%d" $v (int $.Values.etcd.port) ) -}}
{{- end -}}
{{- else if not .Values.etcd.overrides.endpoints }}
{{- fail "A valid .Values.etcd.overrides.endpoints required!" }}