feat(gateway): ingress domain 留空渲染无 host 规则——现场 PC 可直接用节点 IP 访问(如 http://192.168.137.117/),不留空时行为不变;values 注释说明缺省域名与留空语义

This commit is contained in:
ximenchuifeng committed 2026-10-09 10:23:22 +08:00
1 parent 673ac6aa6f
commit e16a64439b
2 files changed
+4 -1

No files matched your search

@@ -9,7 +9,9 @@ metadata:
spec: spec:
ingressClassName: traefik ingressClassName: traefik
rules: rules:
- host: {{ .Values.ingress.domain }} - {{- if .Values.ingress.domain }}
host: {{ .Values.ingress.domain }}
{{- end }}
http: http:
paths: paths:
- path: / - path: /
@@ -34,6 +34,7 @@ gateway:
ingress: ingress:
enabled: true enabled: true
# domain 留空 = 渲染不带 host 的规则,现场 PC 可直接用节点 IP 访问(如 http://192.168.137.117/)
domain: app.mixingx.local domain: app.mixingx.local
gatewayService: gateway-service gatewayService: gateway-service
gatewayPort: 8080 gatewayPort: 8080