From b6393acd572d23cf7be0ccf1db6cb7efc897d24b Mon Sep 17 00:00:00 2001 From: almog8k <60139576+almog8k@users.noreply.github.com> Date: Tue, 19 Sep 2023 15:59:25 +0300 Subject: [PATCH] fix: add internal-port(80) (#75) --- helm/templates/service.yaml | 4 ++-- helm/values.yaml | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/helm/templates/service.yaml b/helm/templates/service.yaml index 8a70c5f..cacc180 100644 --- a/helm/templates/service.yaml +++ b/helm/templates/service.yaml @@ -18,10 +18,10 @@ spec: type: NodePort {{- end }} ports: - - port: {{ .Values.env.port }} + - port: {{ .Values.env.internalPort }} targetPort: {{ .Values.env.targetPort }} protocol: TCP - name: external + name: internal {{- if eq $cloudProviderFlavor "minikube" }} nodePort: {{ .Values.nodePort }} {{- end }} diff --git a/helm/values.yaml b/helm/values.yaml index e01cef2..3f58c86 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -44,6 +44,7 @@ image: env: port: 8080 targetPort: 8080 + internalPort: 80 logLevel: info logPrettyPrintEnabled: false responseCompressionEnabled: true