Skip to content

Commit c1826ad

Browse files
xr09Manuel Gutierrez
andauthored
Use tpl on network policies custom rules to allow for dynamic values (#20)
Co-authored-by: Manuel Gutierrez <megutierrez@theworkshop.com>
1 parent ab4948b commit c1826ad

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/kafka-ui/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ apiVersion: v2
22
name: kafka-ui
33
description: A Helm chart for kafka-UI
44
type: application
5-
version: 1.4.8
5+
version: 1.4.9
66
appVersion: v1.0.0
77
icon: https://raw.githubusercontent.com/kafbat/kafka-ui/main/documentation/images/logo_new.png

charts/kafka-ui/templates/networkpolicy-egress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ spec:
1414
- Egress
1515
egress:
1616
{{- if .Values.networkPolicy.egressRules.customRules }}
17-
{{- toYaml .Values.networkPolicy.egressRules.customRules | nindent 4 }}
17+
{{- tpl (toYaml .Values.networkPolicy.egressRules.customRules) $ | nindent 4 }}
1818
{{- end }}
1919
{{- end }}

charts/kafka-ui/templates/networkpolicy-ingress.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ spec:
1414
- Ingress
1515
ingress:
1616
{{- if .Values.networkPolicy.ingressRules.customRules }}
17-
{{- toYaml .Values.networkPolicy.ingressRules.customRules | nindent 4 }}
17+
{{- tpl (toYaml .Values.networkPolicy.ingressRules.customRules) $ | nindent 4 }}
1818
{{- end }}
1919
{{- end }}

0 commit comments

Comments
 (0)