feat: add multiple subdomains for ingress configuration

- Add clhk2.dev.todayaiweather.com to the list of hosts
- Add bwh1.dev.todayaiweather.com to the list of hosts
- Add spus1.dev.todayaiweather.com to the list of hosts

This update allows the application to handle traffic from four
subdomains, providing more flexibility for development and testing.
Each subdomain is routed to the same backend service, ensuring
a consistent experience across these endpoints.
This commit is contained in:
songtianlun 2025-04-17 13:33:49 +08:00
parent 9f3879c25b
commit d1737824c1

View File

@ -11,6 +11,9 @@ spec:
tls:
- hosts:
- dev.todayaiweather.com
- clhk2.dev.todayaiweather.com
- bwh1.dev.todayaiweather.com
- spus1.dev.todayaiweather.com
secretName: dev-todayaiweather-com-tls
rules:
- host: dev.todayaiweather.com
@ -23,4 +26,34 @@ spec:
name: app-dev
port:
name: web
- host: clhk2.dev.todayaiweather.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-dev
port:
name: web
- host: bwh1.dev.todayaiweather.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-dev
port:
name: web
- host: spus1.dev.todayaiweather.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: app-dev
port:
name: web