From 90a30cbc511eb05f7b8a14d7956bce7867a8efcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B0=AC=EA=B8=B0?= Date: Mon, 18 Mar 2024 06:24:47 +0900 Subject: [PATCH] fix: service yaml port --- .devops/k8s/acon-k8s/templates/service.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.devops/k8s/acon-k8s/templates/service.yaml b/.devops/k8s/acon-k8s/templates/service.yaml index b1f5658..eec9a9f 100644 --- a/.devops/k8s/acon-k8s/templates/service.yaml +++ b/.devops/k8s/acon-k8s/templates/service.yaml @@ -7,13 +7,9 @@ metadata: spec: type: {{ .Values.service.type }} ports: - - name: nest-app-port + - port: {{ .Values.service.port }} + targetPort: http protocol: TCP - port: 80 - targetPort: {{ .Values.service.port }} -# - port: {{ .Values.service.port }} -# targetPort: http -# protocol: TCP -# name: http + name: http selector: {{- include "acon-k8s.selectorLabels" . | nindent 4 }}