diff --git a/stable/gangway/Chart.yaml b/stable/gangway/Chart.yaml index 848b5cbed1..2bd9b907ec 100644 --- a/stable/gangway/Chart.yaml +++ b/stable/gangway/Chart.yaml @@ -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: diff --git a/stable/gangway/templates/service.yaml b/stable/gangway/templates/service.yaml index 8f854f05ed..d03f29ee02 100644 --- a/stable/gangway/templates/service.yaml +++ b/stable/gangway/templates/service.yaml @@ -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 }} diff --git a/stable/gangway/values.yaml b/stable/gangway/values.yaml index 4f00c4dc74..6744d08d6d 100644 --- a/stable/gangway/values.yaml +++ b/stable/gangway/values.yaml @@ -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