feat(gateway): ingress domain 留空渲染无 host 规则——现场 PC 可直接用节点 IP 访问(如 http://192.168.137.117/),不留空时行为不变;values 注释说明缺省域名与留空语义
This commit is contained in:
1 parent
673ac6aa6f
commit
e16a64439b
2 files changed
+4
-1
No files matched your search
@@ -9,7 +9,9 @@ metadata:
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: {{ .Values.ingress.domain }}
|
||||
- {{- if .Values.ingress.domain }}
|
||||
host: {{ .Values.ingress.domain }}
|
||||
{{- end }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
@@ -34,6 +34,7 @@ gateway:
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
# domain 留空 = 渲染不带 host 的规则,现场 PC 可直接用节点 IP 访问(如 http://192.168.137.117/)
|
||||
domain: app.mixingx.local
|
||||
gatewayService: gateway-service
|
||||
gatewayPort: 8080
|
||||
|
||||
Reference in new issue
Block a user