From a3000caa21016a7b62dfaf6418560e306dbeb044 Mon Sep 17 00:00:00 2001 From: JaMile Jackson Date: Wed, 15 Jan 2020 10:15:32 -0800 Subject: [PATCH] [stable/traefik] switch service protocols to where SSL is configured first (#19441) * switch service protocols to where SSL is configured first Signed-off-by: JaMile Jackson * bump version Signed-off-by: JaMile Jackson * bump traefik chart version Signed-off-by: JaMile Jackson * fix typo Signed-off-by: JaMile Jackson --- stable/traefik/Chart.yaml | 2 +- stable/traefik/templates/service.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/stable/traefik/Chart.yaml b/stable/traefik/Chart.yaml index 4d9843b535..154becd987 100644 --- a/stable/traefik/Chart.yaml +++ b/stable/traefik/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: traefik -version: 1.85.0 +version: 1.85.1 appVersion: 1.7.20 description: A Traefik based Kubernetes ingress controller with Let's Encrypt support keywords: diff --git a/stable/traefik/templates/service.yaml b/stable/traefik/templates/service.yaml index c00343b097..8e6c415b53 100644 --- a/stable/traefik/templates/service.yaml +++ b/stable/traefik/templates/service.yaml @@ -40,12 +40,6 @@ spec: app: {{ template "traefik.name" . }} release: {{ .Release.Name }} ports: - - port: 80 - name: http - {{- if (and (eq .Values.serviceType "NodePort") (not (empty .Values.service.nodePorts.http)))}} - nodePort: {{ .Values.service.nodePorts.http }} - {{- end }} - targetPort: http - port: 443 name: https {{- if (and (eq .Values.serviceType "NodePort") (not (empty .Values.service.nodePorts.https)))}} @@ -55,4 +49,10 @@ spec: targetPort: httpn {{- else }} targetPort: https - {{- end }} \ No newline at end of file + {{- end }} + - port: 80 + name: http + {{- if (and (eq .Values.serviceType "NodePort") (not (empty .Values.service.nodePorts.http)))}} + nodePort: {{ .Values.service.nodePorts.http }} + {{- end }} + targetPort: http