dengbiao 1 tydzień temu
rodzic
commit
d226e01d1b
2 zmienionych plików z 7 dodań i 7 usunięć
  1. +3
    -3
      go.mod
  2. +4
    -4
      k8s/ingress.yaml

+ 3
- 3
go.mod Wyświetl plik

@@ -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 Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz