mirror of
https://github.com/bitnami/charts.git
synced 2026-03-12 06:47:32 +08:00
[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:
committed by
GitHub
parent
c94ada3bf1
commit
dc59153da0
@@ -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
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user