From a4db31fe667c2c0c20a4f77ead2bea317acebb6d Mon Sep 17 00:00:00 2001 From: Michael Andrews Date: Mon, 15 Apr 2019 08:22:49 -0400 Subject: [PATCH] [stable/Dex] Fixed hard coded servicePort in ingress template (#12728) * Fixed hard coded servicePort in ingress template. (#12727) Signed-off-by: Michael Andrews * Set the default value for service.port in the values file. This should probably be changed to ingress.servicePort since that is where it is used. But I wanted to keep this PR focused on the hard coded value in the ingress template. Signed-off-by: Michael Andrews * Bumped verion to 1.0.0 Signed-off-by: Michael Andrews --- stable/dex/Chart.yaml | 2 +- stable/dex/templates/ingress.yaml | 2 +- stable/dex/values.yaml | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/stable/dex/Chart.yaml b/stable/dex/Chart.yaml index 1ca2f7b92f..0d3934eef8 100644 --- a/stable/dex/Chart.yaml +++ b/stable/dex/Chart.yaml @@ -1,5 +1,5 @@ name: dex -version: 0.8.0 +version: 1.0.0 appVersion: 2.14.0 description: CoreOS Dex keywords: diff --git a/stable/dex/templates/ingress.yaml b/stable/dex/templates/ingress.yaml index 904079359f..4ac724d126 100644 --- a/stable/dex/templates/ingress.yaml +++ b/stable/dex/templates/ingress.yaml @@ -34,6 +34,6 @@ spec: - path: {{ $ingressPath }} backend: serviceName: {{ $fullName }} - servicePort: 8080 + servicePort: {{ $servicePort }} {{- end }} {{- end }} diff --git a/stable/dex/values.yaml b/stable/dex/values.yaml index 01b25b6f04..919bc669da 100644 --- a/stable/dex/values.yaml +++ b/stable/dex/values.yaml @@ -32,6 +32,7 @@ ports: service: type: ClusterIP + port: 8080 annotations: {} ingress: