From f7ba0ffa33d6d6d6e3347a4f5b5b0b853f13bfd5 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 11 Sep 2020 15:45:04 +0100 Subject: [PATCH] Move ports > 1024 as we run non-root --- charts/kubezero-istio/templates/istio-private-ingress.yaml | 2 ++ charts/kubezero-istio/templates/istio.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/kubezero-istio/templates/istio-private-ingress.yaml b/charts/kubezero-istio/templates/istio-private-ingress.yaml index 46c6519..5a6675e 100644 --- a/charts/kubezero-istio/templates/istio-private-ingress.yaml +++ b/charts/kubezero-istio/templates/istio-private-ingress.yaml @@ -91,11 +91,13 @@ spec: {{- end }} - name: http2 port: 80 + targetPort: 8080 {{- if eq .Values.ingress.type "NodePort" }} nodePort: 31080 {{- end }} - name: https port: 443 + targetPort: 8443 {{- if eq .Values.ingress.type "NodePort" }} nodePort: 31443 {{- end }} diff --git a/charts/kubezero-istio/templates/istio.yaml b/charts/kubezero-istio/templates/istio.yaml index 5a08e21..6f665c5 100644 --- a/charts/kubezero-istio/templates/istio.yaml +++ b/charts/kubezero-istio/templates/istio.yaml @@ -113,11 +113,13 @@ spec: {{- end }} - name: http2 port: 80 + targetPort: 8080 {{- if eq .Values.ingress.type "NodePort" }} nodePort: 30080 {{- end }} - name: https port: 443 + targetPort: 8443 {{- if eq .Values.ingress.type "NodePort" }} nodePort: 30443 {{- end }}