From 11b730a8560f3f4f3eef741e2e98c2ac066a287d Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Mon, 25 Aug 2025 11:50:53 +0200 Subject: [PATCH 1/4] fix: replace deprecated gitversion with version --- charts/redis-ha/README.md | 1 + charts/redis-ha/README.md.gotmpl | 1 + charts/redis-ha/templates/redis-ha-announce-service.yaml | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charts/redis-ha/README.md b/charts/redis-ha/README.md index 0a216ddb..c9b7525f 100644 --- a/charts/redis-ha/README.md +++ b/charts/redis-ha/README.md @@ -22,6 +22,7 @@ This chart bootstraps a [Redis](https://redis.io) highly available master/slave * Kubernetes 1.8+ with Beta APIs enabled * PV provisioner support in the underlying infrastructure +* Helm v3+ ## Upgrading the Chart diff --git a/charts/redis-ha/README.md.gotmpl b/charts/redis-ha/README.md.gotmpl index 36e370b8..dedbf282 100644 --- a/charts/redis-ha/README.md.gotmpl +++ b/charts/redis-ha/README.md.gotmpl @@ -22,6 +22,7 @@ This chart bootstraps a [Redis](https://redis.io) highly available master/slave * Kubernetes 1.8+ with Beta APIs enabled * PV provisioner support in the underlying infrastructure +* Helm v3+ ## Upgrading the Chart diff --git a/charts/redis-ha/templates/redis-ha-announce-service.yaml b/charts/redis-ha/templates/redis-ha-announce-service.yaml index dc24249d..2de7e2e8 100644 --- a/charts/redis-ha/templates/redis-ha-announce-service.yaml +++ b/charts/redis-ha/templates/redis-ha-announce-service.yaml @@ -15,14 +15,14 @@ metadata: {{ $key }}: {{ $value | quote }} {{- end }} annotations: -{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion.GitVersion) }} +{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion.Version) }} service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" {{- end }} {{- if $root.Values.serviceAnnotations }} {{ toYaml $root.Values.serviceAnnotations | indent 4 }} {{- end }} spec: -{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion.GitVersion) }} +{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion.Version) }} publishNotReadyAddresses: true {{- end }} type: ClusterIP From 664ea963c0246f49167cdc3ac4442903ea0c085c Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Mon, 25 Aug 2025 11:53:36 +0200 Subject: [PATCH 2/4] fix: bump chart version --- charts/redis-ha/Chart.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index f048836c..4bac142e 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -1,14 +1,14 @@ apiVersion: v2 name: redis-ha -home: https://redis.io/ +home: http://redis.io/ keywords: - redis - keyvalue - database -version: 4.34.3 -appVersion: 8.2.1 +version: 4.33.9 +appVersion: 7.2.7 description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management -icon: https://img.icons8.com/external-tal-revivo-shadow-tal-revivo/24/external-redis-an-in-memory-data-structure-project-implementing-a-distributed-logo-shadow-tal-revivo.png +icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png maintainers: - email: aaron.layfield@gmail.com name: dandydeveloper From 6832ed205896d286d37cc0d7757d8fa65e7a4257 Mon Sep 17 00:00:00 2001 From: kvanzuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Fri, 12 Sep 2025 10:44:44 +0200 Subject: [PATCH 3/4] fix: use capabilities.kubeversion --- charts/redis-ha/templates/redis-ha-announce-service.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/redis-ha/templates/redis-ha-announce-service.yaml b/charts/redis-ha/templates/redis-ha-announce-service.yaml index 2de7e2e8..f846a394 100644 --- a/charts/redis-ha/templates/redis-ha-announce-service.yaml +++ b/charts/redis-ha/templates/redis-ha-announce-service.yaml @@ -15,14 +15,14 @@ metadata: {{ $key }}: {{ $value | quote }} {{- end }} annotations: -{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion.Version) }} +{{- if (semverCompare "<=1.10-0" $.Capabilities.KubeVersion) }} service.alpha.kubernetes.io/tolerate-unready-endpoints: "true" {{- end }} {{- if $root.Values.serviceAnnotations }} {{ toYaml $root.Values.serviceAnnotations | indent 4 }} {{- end }} spec: -{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion.Version) }} +{{- if (semverCompare ">=1.11-0" $.Capabilities.KubeVersion) }} publishNotReadyAddresses: true {{- end }} type: ClusterIP From fd9118a1416ec1f39cda1a96ffa1ebccb7ea6395 Mon Sep 17 00:00:00 2001 From: kvanzuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Fri, 12 Sep 2025 11:23:01 +0200 Subject: [PATCH 4/4] fix: bump chart version --- charts/redis-ha/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index 4bac142e..8b88d8d5 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,8 +5,8 @@ keywords: - redis - keyvalue - database -version: 4.33.9 -appVersion: 7.2.7 +version: 4.34.4 +appVersion: 8.2.1 description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management icon: https://upload.wikimedia.org/wikipedia/en/thumb/6/6b/Redis_Logo.svg/1200px-Redis_Logo.svg.png maintainers: