From 8b1914fb5283608be169421ee3c5f26db88912eb Mon Sep 17 00:00:00 2001 From: Konstantin Grachev Date: Tue, 28 Feb 2023 22:16:07 +0300 Subject: [PATCH] fix: use serverPort from config.port, add default value --- templates/service.yaml | 2 +- values.yaml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/service.yaml b/templates/service.yaml index f4a5c1f..1137121 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -7,7 +7,7 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - port: {{ .Values.service.port }} + - port: {{ .Values.config.port }} targetPort: http protocol: TCP name: http diff --git a/values.yaml b/values.yaml index 4ef4899..169e03a 100644 --- a/values.yaml +++ b/values.yaml @@ -4,7 +4,7 @@ config: urlPath: "" host: "" port: "" - path: "" + path: "3000" loglevel: "" urlAddPort: "" useSSL: "" @@ -178,7 +178,8 @@ securityContext: {} service: type: ClusterIP - port: 3000 + # Port option used from config.port + # port: 3000 ingress: enabled: false