add loadBalancerIP support for proxy service (#421)

Co-authored-by: Abdulhadi Celenlioglu <abdulhadi@intenseye.com>
This commit is contained in:
hadican 2023-12-29 13:16:37 +03:00 committed by GitHub
parent 76fb0bb45c
commit 8061a8b7aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -32,6 +32,9 @@ metadata:
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.proxy.service.type }} type: {{ .Values.proxy.service.type }}
{{- with .Values.proxy.service.loadBalancerIP }}
loadBalancerIP: {{ . }}
{{- end }}
ports: ports:
{{- if or (not .Values.tls.enabled) (not .Values.tls.proxy.enabled) }} {{- if or (not .Values.tls.enabled) (not .Values.tls.proxy.enabled) }}
- name: http - name: http

View File

@ -956,6 +956,8 @@ proxy:
service: service:
annotations: {} annotations: {}
type: LoadBalancer type: LoadBalancer
## Optional. Leave it blank to get next available random IP.
loadBalancerIP: ""
## Proxy ingress ## Proxy ingress
## templates/proxy-ingress.yaml ## templates/proxy-ingress.yaml
## ##