[bitnami/etcd] Fix protocol selection in defrag job (#34767)

This commit is contained in:
DanielStuempel
2025-07-03 09:27:12 +02:00
committed by GitHub
parent 97f90107b0
commit d6916aef81
3 changed files with 8 additions and 4 deletions
+6 -2
View File
@@ -1,8 +1,12 @@
# Changelog
## 12.0.6 (2025-06-17)
## 12.0.7 (2025-07-02)
* [bitnami/etcd] :zap: :arrow_up: Update dependency references ([#34427](https://github.com/bitnami/charts/pull/34427))
* [bitnami/etcd] Fix protocol selection in defrag job ([#34767](https://github.com/bitnami/charts/pull/34767))
## <small>12.0.6 (2025-06-17)</small>
* [bitnami/etcd] :zap: :arrow_up: Update dependency references (#34427) ([9cf5b43](https://github.com/bitnami/charts/commit/9cf5b43efaf70d8e0490b3e0af08a11276cc528b)), closes [#34427](https://github.com/bitnami/charts/issues/34427)
## <small>12.0.5 (2025-06-16)</small>
+1 -1
View File
@@ -35,4 +35,4 @@ maintainers:
name: etcd
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/etcd
version: 12.0.6
version: 12.0.7
+1 -1
View File
@@ -122,7 +122,7 @@ spec:
{{- $replicaCount := (int .Values.replicaCount) }}
{{- $releaseNamespace := include "common.names.namespace" . }}
{{- range $iEndpoint, $e := until $replicaCount }}
{{- $endpoint := printf "%s://%s-%d.%s.%s.svc.%s:%d" (include "etcd.peerProtocol" $) $etcdFullname $iEndpoint $etcdHeadlessServiceName $namespace $clusterDomain $port }}
{{- $endpoint := printf "%s://%s-%d.%s.%s.svc.%s:%d" (include "etcd.clientProtocol" $) $etcdFullname $iEndpoint $etcdHeadlessServiceName $namespace $clusterDomain $port }}
{{- $endpointStr = printf "%s%s" $endpointStr $endpoint }}
{{- if ne $iEndpoint (sub $replicaCount 1) }}
{{- $endpointStr = printf "%s," $endpointStr }}