Skip to content

Commit 8f5fc27

Browse files
[stable/redis-ha] Fix template scope in netpol ingressRules (#353)
* Fix template scope for ingressRules * Bump chart version
1 parent fcb1b30 commit 8f5fc27

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/redis-ha/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
- redis
66
- keyvalue
77
- database
8-
version: 4.34.12
8+
version: 4.34.13
99
appVersion: 8.2.1
1010
description: This Helm chart provides a highly available Redis implementation with a master/slave configuration and uses Sentinel sidecars for failover management
1111
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

charts/redis-ha/templates/redis-ha-network-policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ spec:
6262
{{- if $rule.ports }}
6363
{{ toYaml $rule.ports | indent 7 }}
6464
{{- else }}
65-
{{- include "redis-ports" . | nindent 6 }}
65+
{{- include "redis-ports" $root | nindent 6 }}
6666
{{- end }}
6767
{{- end }}
6868
{{- end }}

charts/redis-ha/templates/redis-haproxy-network-policy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,6 @@ spec:
6161
{{- if $rule.ports }}
6262
{{- toYaml $rule.ports | nindent 8 }}
6363
{{- end }}
64-
{{- include "redis-ports" . | nindent 8 }}
64+
{{- include "redis-ports" $root | nindent 8 }}
6565
{{- end }}
6666
{{- end }}

0 commit comments

Comments
 (0)