From e8691c7ee081bd889db5a81f8f08dbcea51affe4 Mon Sep 17 00:00:00 2001
From: jwf <1270399044@qq.com>
Date: Tue, 14 Jan 2025 11:36:55 +0800
Subject: [PATCH] 微服务打包

---
 base-charts/templates/service.yaml | 2 +-
 project.yaml                       | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/base-charts/templates/service.yaml b/base-charts/templates/service.yaml
index 4a2ffd9..2cde134 100644
--- a/base-charts/templates/service.yaml
+++ b/base-charts/templates/service.yaml
@@ -10,7 +10,7 @@ spec:
     - name: gateway
       port: {{ .Values.service.port }}
       protocol: TCP
-      nodePort: {{ .Values.service.port }}
+      nodePort: {{ .Values.service.nodePort }}
   selector:
     app: {{ .Values.service.select }}-deployment
   sessionAffinity: None
diff --git a/project.yaml b/project.yaml
index ea6f85d..f3e818f 100644
--- a/project.yaml
+++ b/project.yaml
@@ -3,7 +3,8 @@ registry: 192.168.31.201/htj_develop
 pushPath: 192.168.31.201/htj_develop
 service:
   name: gateway
-  port: 30080
+  port: 8080
+  nodePort: 30080
   select: factory-tobacco-qrcode-gateway
 ## 基础模块
 version: v24.09.26
--
libgit2 0.26.0