Skip to content

Commit 73f0b1f

Browse files
authored
Merge pull request #144 from koksay/front-proxy-service
Make LB IP configurable for kcp-front-proxy service
2 parents 84c659b + 87d3659 commit 73f0b1f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

charts/kcp/templates/front-proxy-deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ spec:
1313
{{- with .Values.kcpFrontProxy.service.clusterIP }}
1414
clusterIP: {{ . }}
1515
{{- end }}
16+
{{- if and (eq .Values.kcpFrontProxy.service.type "LoadBalancer") (.Values.kcpFrontProxy.service.loadBalancerIP) }}
17+
loadBalancerIP: {{ .Values.kcpFrontProxy.service.loadBalancerIP }}
18+
{{- end }}
1619
type: {{ .Values.kcpFrontProxy.service.type }}
1720
ports:
1821
- protocol: TCP

charts/kcp/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ kcpFrontProxy:
168168
# set this if you want to control the assigned service IP for the kcp-front-proxy
169169
# service.
170170
clusterIP: ""
171+
# Pre-defined IP address of the kcp-front-proxy Service. (only applies if type is "LoadBalancer")
172+
# Used by cloud providers to connect the resulting load balancer service to a pre-existing static IP.
173+
loadBalancerIP: ""
171174
# set this if you want kcp-front-proxy to use a specific certificate issuer
172175
# (e.g. the Let's Encrypt ones in this chart).
173176
# certificateIssuer:

0 commit comments

Comments
 (0)