Browse Source

update

master
dengbiao 1 week ago
parent
commit
d226e01d1b
2 changed files with 7 additions and 7 deletions
  1. +3
    -3
      go.mod
  2. +4
    -4
      k8s/ingress.yaml

+ 3
- 3
go.mod View File

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


go 1.19 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 ( require (
github.com/boombuler/barcode v1.0.1 github.com/boombuler/barcode v1.0.1
@@ -34,7 +34,7 @@ require (
) )


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/EggPlanet/egg_system_rules.git v0.0.3
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 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/aliyun/aliyun-oss-go-sdk v3.0.2+incompatible


+ 4
- 4
k8s/ingress.yaml View File

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

Loading…
Cancel
Save