From 8f552a198b2c7ff50d10d7c43b194dcd8ac89caf Mon Sep 17 00:00:00 2001 From: Torben Naumann Date: Thu, 18 Sep 2025 16:56:23 +0200 Subject: [PATCH 1/2] Fix template scope for ingressRules --- charts/redis-ha/templates/redis-ha-network-policy.yaml | 2 +- charts/redis-ha/templates/redis-haproxy-network-policy.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/redis-ha/templates/redis-ha-network-policy.yaml b/charts/redis-ha/templates/redis-ha-network-policy.yaml index e1e1cb77..6199a00c 100644 --- a/charts/redis-ha/templates/redis-ha-network-policy.yaml +++ b/charts/redis-ha/templates/redis-ha-network-policy.yaml @@ -62,7 +62,7 @@ spec: {{- if $rule.ports }} {{ toYaml $rule.ports | indent 7 }} {{- else }} - {{- include "redis-ports" . | nindent 6 }} + {{- include "redis-ports" $root | nindent 6 }} {{- end }} {{- end }} {{- end }} diff --git a/charts/redis-ha/templates/redis-haproxy-network-policy.yaml b/charts/redis-ha/templates/redis-haproxy-network-policy.yaml index 08ce236d..a00a74ac 100644 --- a/charts/redis-ha/templates/redis-haproxy-network-policy.yaml +++ b/charts/redis-ha/templates/redis-haproxy-network-policy.yaml @@ -61,6 +61,6 @@ spec: {{- if $rule.ports }} {{- toYaml $rule.ports | nindent 8 }} {{- end }} - {{- include "redis-ports" . | nindent 8 }} + {{- include "redis-ports" $root | nindent 8 }} {{- end }} {{- end }} From 45d33967332f144b5bcbf8df739194f09b257ac1 Mon Sep 17 00:00:00 2001 From: Torben Naumann Date: Thu, 18 Sep 2025 16:57:07 +0200 Subject: [PATCH 2/2] Bump chart version --- charts/redis-ha/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/redis-ha/Chart.yaml b/charts/redis-ha/Chart.yaml index b07fc993..3b5ac428 100644 --- a/charts/redis-ha/Chart.yaml +++ b/charts/redis-ha/Chart.yaml @@ -5,7 +5,7 @@ keywords: - redis - keyvalue - database -version: 4.34.12 +version: 4.34.13 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://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