From 144031048dec77e257b9746a6e6c2a95389c7aa4 Mon Sep 17 00:00:00 2001 From: Dennis Haney Date: Thu, 30 May 2024 15:35:01 +0700 Subject: [PATCH] [binami/valkey] fix: wrong port set for sentinel setup (#26393) * [binami/valkey] fix: wrong port set for sentinel setup Signed-off-by: Dennis Haney * Update CHANGELOG.md Signed-off-by: Bitnami Containers * Update CHANGELOG.md Signed-off-by: Bitnami Containers --------- Signed-off-by: Dennis Haney Signed-off-by: Bitnami Containers Signed-off-by: Miguel Ruiz Co-authored-by: Bitnami Containers Co-authored-by: Miguel Ruiz --- bitnami/valkey/CHANGELOG.md | 4 ++-- bitnami/valkey/Chart.yaml | 2 +- bitnami/valkey/templates/headless-svc.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bitnami/valkey/CHANGELOG.md b/bitnami/valkey/CHANGELOG.md index 524e129a88f6d9..d709937a0ce1c2 100644 --- a/bitnami/valkey/CHANGELOG.md +++ b/bitnami/valkey/CHANGELOG.md @@ -1,8 +1,8 @@ # Changelog -## 0.3.0 (2024-05-30) +## 0.3.1 (2024-05-30) -* [bitnami/valkey] Enable PodDisruptionBudgets ([#26408](https://github.com/bitnami/charts/pull/26408)) +* [binami/valkey] fix: wrong port set for sentinel setup ([#26393](https://github.com/bitnami/charts/pull/26393)) ## 0.2.1 (2024-05-30) diff --git a/bitnami/valkey/Chart.yaml b/bitnami/valkey/Chart.yaml index 8852394d17d736..7214bc7a74bfcd 100644 --- a/bitnami/valkey/Chart.yaml +++ b/bitnami/valkey/Chart.yaml @@ -36,4 +36,4 @@ maintainers: name: valkey sources: - https://github.com/bitnami/charts/tree/main/bitnami/valkey -version: 0.3.0 \ No newline at end of file +version: 0.3.1 diff --git a/bitnami/valkey/templates/headless-svc.yaml b/bitnami/valkey/templates/headless-svc.yaml index e0158486e9e5a0..50aa8bd3196b83 100644 --- a/bitnami/valkey/templates/headless-svc.yaml +++ b/bitnami/valkey/templates/headless-svc.yaml @@ -26,7 +26,7 @@ spec: {{- end }} ports: - name: tcp-redis - port: {{ if .Values.sentinel.enabled }}{{ .Values.sentinel.containerPorts.sentinel }}{{ else }} {{ .Values.master.containerPorts.valkey }}{{ end }} + port: {{ if .Values.sentinel.enabled }}{{ .Values.replica.containerPorts.valkey }}{{ else }} {{ .Values.master.containerPorts.valkey }}{{ end }} targetPort: redis {{- if .Values.sentinel.enabled }} - name: tcp-sentinel