From 2b9a41184e0f285102fe27635ab2a707f6ef1704 Mon Sep 17 00:00:00 2001 From: Danil Smirnov <27999539+danil-smirnov@users.noreply.github.com> Date: Mon, 13 Feb 2023 12:41:39 +0200 Subject: [PATCH] [bitnami/nginx] Fix rendering of CIDR block list for loadBalancerSourceRanges (#14836) Signed-off-by: Danil Smirnov --- bitnami/nginx/Chart.yaml | 2 +- bitnami/nginx/templates/svc.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitnami/nginx/Chart.yaml b/bitnami/nginx/Chart.yaml index 75aecc966396cd..5ac79e32848505 100644 --- a/bitnami/nginx/Chart.yaml +++ b/bitnami/nginx/Chart.yaml @@ -25,4 +25,4 @@ name: nginx sources: - https://github.com/bitnami/containers/tree/main/bitnami/nginx - https://www.nginx.org -version: 13.2.23 +version: 13.2.24 diff --git a/bitnami/nginx/templates/svc.yaml b/bitnami/nginx/templates/svc.yaml index 17b3893b471658..152be66accfcbb 100644 --- a/bitnami/nginx/templates/svc.yaml +++ b/bitnami/nginx/templates/svc.yaml @@ -32,7 +32,7 @@ spec: externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | quote }} {{- end }} {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerSourceRanges)) }} - loadBalancerSourceRanges: {{ .Values.service.loadBalancerSourceRanges }} + loadBalancerSourceRanges: {{- toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }} {{- end }} {{- if and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP)) }} loadBalancerIP: {{ .Values.service.loadBalancerIP }}