[bitnami/etcd] Fix port in concatenation of endpoints (#4875)

This commit is contained in:
Patrik Rácskai
2021-01-04 18:20:42 +01:00
committed by GitHub
parent 3b269410f1
commit ffdb62e36f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: etcd
sources:
- https://github.com/bitnami/bitnami-docker-etcd
- https://coreos.com/etcd/
version: 5.4.1
version: 5.4.2
@@ -12,7 +12,7 @@
{{- $snapshotHistoryLimit := .Values.disasterRecovery.cronjob.snapshotHistoryLimit }}
{{- $endpoints := list }}
{{- range $e, $i := until $replicaCount }}
{{- $endpoints = append $endpoints (printf "%s-%d.%s.%s.svc.%s:%d" $etcdFullname $i $etcdHeadlessServiceName $releaseNamespace $clusterDomain $peerPort) }}
{{- $endpoints = append $endpoints (printf "%s-%d.%s.%s.svc.%s:%d" $etcdFullname $i $etcdHeadlessServiceName $releaseNamespace $clusterDomain $clientPort) }}
{{- end }}
apiVersion: v1
kind: ConfigMap