From 0261c346b0e50fdb1e8da61a83552671e127a452 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 21 Nov 2024 20:10:28 +0800 Subject: [PATCH] update --- go.mod | 5 ++--- k8s/container.yaml | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index de5c90d..50a18fa 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/go-playground/universal-translator v0.18.1 github.com/go-playground/validator/v10 v10.20.0 github.com/go-redis/redis v6.15.9+incompatible - github.com/gomodule/redigo v2.0.0+incompatible + github.com/gomodule/redigo v1.9.2 github.com/iGoogle-ink/gopay v1.5.36 github.com/makiuchi-d/gozxing v0.0.0-20210324052758-57132e828831 github.com/qiniu/api.v7/v7 v7.8.2 @@ -34,11 +34,10 @@ require ( require ( code.fnuoos.com/EggPlanet/egg_models.git v0.2.1-0.20241121055036-fe2db8190b16 - code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241119120223-896224742c0d + code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.4-0.20241121120649-65cd7a1f776c code.fnuoos.com/go_rely_warehouse/zyos_go_es.git v1.0.1-0.20241118083738-0f22da9ba0be code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible - github.com/gin-contrib/sessions v1.0.1 github.com/go-sql-driver/mysql v1.8.1 github.com/gocolly/colly v1.2.0 github.com/olivere/elastic/v7 v7.0.32 diff --git a/k8s/container.yaml b/k8s/container.yaml index ea8c7b5..cb02d32 100644 --- a/k8s/container.yaml +++ b/k8s/container.yaml @@ -52,9 +52,9 @@ spec: # 镜像地址(提前打包好并推送的镜像仓库) image: 'registry.cn-shenzhen.aliyuncs.com/fnuoos-prd/egg-admin:0.0.1' ports: - - name: egg-admin-4001 + - name: egg-admin-4010 # 容器端口号(注意与golang web server启动的端口一致) - containerPort: 4001 + containerPort: 4010 protocol: TCP # 将前面volume声明的需要用到的pvc、config挂载上来 volumeMounts: