mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
7b4674409e
commit
8fb57b472e
@@ -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:
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user