浏览代码

update

master
dengbiao 1周前
父节点
当前提交
d226e01d1b
共有 2 个文件被更改,包括 7 次插入7 次删除
  1. +3
    -3
      go.mod
  2. +4
    -4
      k8s/ingress.yaml

+ 3
- 3
go.mod 查看文件

@@ -2,9 +2,9 @@ module applet

go 1.19

replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models
//replace code.fnuoos.com/EggPlanet/egg_models.git => E:/company/Egg/egg_models

replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules
//replace code.fnuoos.com/EggPlanet/egg_system_rules.git => E:/company/Egg/egg_system_rules

require (
github.com/boombuler/barcode v1.0.1
@@ -34,7 +34,7 @@ require (
)

require (
code.fnuoos.com/EggPlanet/egg_models.git v0.0.2
code.fnuoos.com/EggPlanet/egg_models.git v0.0.5
code.fnuoos.com/EggPlanet/egg_system_rules.git v0.0.3
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
github.com/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible


+ 4
- 4
k8s/ingress.yaml 查看文件

@@ -1,17 +1,17 @@
kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: advertisement # ingress名称
namespace: advertisement
name: egg-admin # ingress名称
namespace: egg
annotations:
kubesphere.io/creator: dengbiao
spec:
rules:
- host: 123456.advertisement.dengbiao.top # 使用的域名
- host: ddstar.izhim.cn # 使用的域名
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
serviceName: advertisement # 流量转发到的服务
serviceName: egg-admin # 流量转发到的服务
servicePort: 80

正在加载...
取消
保存