From 488e3876e9ca0757e818ff4738526c9f1702ce5f Mon Sep 17 00:00:00 2001 From: Leo Sok Date: Tue, 14 Apr 2026 17:53:23 +0300 Subject: [PATCH] user-app nodeport added --- charts/backend2/charts/user-app-k8s/templates/service.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/backend2/charts/user-app-k8s/templates/service.yaml b/charts/backend2/charts/user-app-k8s/templates/service.yaml index ff6b434..f38bc38 100755 --- a/charts/backend2/charts/user-app-k8s/templates/service.yaml +++ b/charts/backend2/charts/user-app-k8s/templates/service.yaml @@ -11,8 +11,8 @@ spec: port: 9090 targetPort: 9090 protocol: TCP - {{- if eq .Values.type "NodePort" }} - NodePort: {{ .Values.nodePort }} - {{- end }} + {{- if eq .Values.service.type "NodePort" }} + nodePort: {{ .Values.service.nodePort }} + {{- end }} selector: {{- include "user-app.selectorLabels" . | nindent 4 }}