[bitnami/postgresql] Fix multi-element array for primary.service.loadBalancerSourceRanges (#17461)

* [bitnami/postgresql] Fix multi-element array for a value

primary.service.loadBalancerSourceRanges couldn't handle multiple array
elements. This issue uses toJson conversion to output a valid array.

Signed-off-by: Hicham Boulahboub <hicham.boulahboub@de.clara.net>

Fixes issue #17450

* [bitnami/postgresql] Bump version 12.6.0 -> 12.6.1

Signed-off-by: Hicham Boulahboub <hicham.boulahboub@de.clara.net>

---------

Signed-off-by: Hicham Boulahboub <hicham.boulahboub@de.clara.net>
Signed-off-by: Rafael Ríos Saavedra <rrios@vmware.com>
Co-authored-by: Rafael Ríos Saavedra <rrios@vmware.com>
This commit is contained in:
Hicham Boublahboub
2023-07-06 10:33:09 +02:00
committed by GitHub
parent c94ada3bf1
commit dc59153da0
2 changed files with 3 additions and 3 deletions

View File

@@ -27,5 +27,5 @@ maintainers:
url: https://github.com/bitnami/charts
name: postgresql
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/postgresql
version: 12.6.2
- https://github.com/bitnami/charts/tree/main/bitnami/post
version: 12.6.3

View File

@@ -28,7 +28,7 @@ spec:
externalTrafficPolicy: {{ .Values.primary.service.externalTrafficPolicy | quote }}
{{- end }}
{{- if and (eq .Values.primary.service.type "LoadBalancer") (not (empty .Values.primary.service.loadBalancerSourceRanges)) }}
loadBalancerSourceRanges: {{ .Values.primary.service.loadBalancerSourceRanges }}
loadBalancerSourceRanges: {{ .Values.primary.service.loadBalancerSourceRanges | toJson}}
{{- end }}
{{- if and (eq .Values.primary.service.type "LoadBalancer") (not (empty .Values.primary.service.loadBalancerIP)) }}
loadBalancerIP: {{ .Values.primary.service.loadBalancerIP }}