[stable/gangway] Add ability to define loadBalancerIP when using LoadBalancer service type. (#15862)

Signed-off-by: Nick Perry <nwperry@gmail.com>
This commit is contained in:
Nick Perry
2019-07-25 00:43:57 -07:00
committed by Kubernetes Prow Robot
parent 7b4674409e
commit 8fb57b472e
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: An application that can be used to easily enable authentication flows via OIDC for a kubernetes cluster.
name: gangway
version: 0.0.5
version: 0.1.5
appVersion: 3.0.0
home: https://github.com/heptiolabs/gangway
sources:
+3
View File
@@ -18,6 +18,9 @@ spec:
targetPort: {{ .Values.gangway.port }}
protocol: TCP
name: http
{{- if and (eq "LoadBalancer" $.Values.service.type) (.Values.service.loadBalancerIP) }}
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
{{- end}}
selector:
app.kubernetes.io/name: {{ include "gangway.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
+2
View File
@@ -110,6 +110,8 @@ gangway:
service:
type: ClusterIP
port: 80
# Specifies a loadBalancerIP when using LoadBalancer service type
# loadBalancerIP: 192.168.0.51
ingress:
enabled: false