mirror of
https://github.com/bitnami/charts.git
synced 2026-03-02 08:05:03 +08:00
[bitnami/discourse] add service.loadBalancerIP to the service (#7336)
* [bitnami/discourse] add service.loadBalancerIP to the service * small change
This commit is contained in:
committed by
GitHub
parent
1328f86aad
commit
8db46e793b
@@ -35,4 +35,4 @@ sources:
|
||||
- https://github.com/bitnami/bitnami-docker-discourse
|
||||
- https://github.com/spinnaker
|
||||
- https://www.discourse.org/
|
||||
version: 4.2.12
|
||||
version: 4.2.13
|
||||
|
||||
@@ -20,6 +20,9 @@ spec:
|
||||
{{- if (or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort")) }}
|
||||
externalTrafficPolicy: {{ .Values.service.externalTrafficPolicy | quote }}
|
||||
{{- end }}
|
||||
{{- if (and (eq .Values.service.type "LoadBalancer") (not (empty .Values.service.loadBalancerIP))) }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if (and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerSourceRanges) }}
|
||||
loadBalancerSourceRanges:
|
||||
{{ toYaml .Values.service.loadBalancerSourceRanges | nindent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user