#6477 Allow specifying the loadBalancerIP for the internal load balancer
This is useful, so internal DNS tools can point against this fixed IP.
This commit is contained in:
parent
beb2eff087
commit
77bb13446e
2 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,9 @@ metadata:
|
|||
name: {{ include "ingress-nginx.controller.fullname" . }}-internal
|
||||
spec:
|
||||
type: "{{ .Values.controller.service.type }}"
|
||||
{{- if .Values.controller.service.internal.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.controller.service.internal.loadBalancerIP }}
|
||||
{{- end }}
|
||||
{{- if .Values.controller.service.internal.loadBalancerSourceRanges }}
|
||||
loadBalancerSourceRanges: {{ toYaml .Values.controller.service.internal.loadBalancerSourceRanges | nindent 4 }}
|
||||
{{- end }}
|
||||
|
|
|
@ -396,6 +396,8 @@ controller:
|
|||
enabled: false
|
||||
annotations: {}
|
||||
|
||||
# loadBalancerIP: ""
|
||||
|
||||
## Restrict access For LoadBalancer service. Defaults to 0.0.0.0/0.
|
||||
loadBalancerSourceRanges: []
|
||||
|
||||
|
|
Loading…
Reference in a new issue