From d1737824c11b0a80a3f81e667b539a58ab88c03f Mon Sep 17 00:00:00 2001 From: songtianlun Date: Thu, 17 Apr 2025 13:33:49 +0800 Subject: [PATCH] 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. --- today_ai_weather/dev/ingress.yaml | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/today_ai_weather/dev/ingress.yaml b/today_ai_weather/dev/ingress.yaml index feef448..0cb45d6 100644 --- a/today_ai_weather/dev/ingress.yaml +++ b/today_ai_weather/dev/ingress.yaml @@ -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