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