From f9c776bda5cd515220607c1ea375e31e952bb791 Mon Sep 17 00:00:00 2001 From: bsctl Date: Thu, 18 Aug 2022 09:25:23 +0200 Subject: [PATCH] fix(helm): peer port instead of client port --- helm/kamaji/templates/_helpers_etcd.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/kamaji/templates/_helpers_etcd.tpl b/helm/kamaji/templates/_helpers_etcd.tpl index 2ff98b2..98a1006 100644 --- a/helm/kamaji/templates/_helpers_etcd.tpl +++ b/helm/kamaji/templates/_helpers_etcd.tpl @@ -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!" }}