From 75f5abd7c987f0c484a01f41150a9333b0fd9764 Mon Sep 17 00:00:00 2001 From: sync-test Date: Fri, 14 Aug 2026 04:43:57 +0530 Subject: [PATCH] feat: add nxtgauge.com/www ingress rules, drop coming-soon from cluster kustomization Forgot to stage these in 643ab49 - the actual ingress host rules and the removal of the apps/nxtgauge-coming-soon reference from clusters/production/kustomization.yaml, without which nothing in the previous commit actually took effect. Co-Authored-By: Claude Sonnet 5 --- .../nxtgauge-frontend-solid/base/ingress.yaml | 42 +++++++++++++++++++ clusters/production/kustomization.yaml | 1 - 2 files changed, 42 insertions(+), 1 deletion(-) diff --git a/apps/nxtgauge-frontend-solid/base/ingress.yaml b/apps/nxtgauge-frontend-solid/base/ingress.yaml index 4b88657..5751e8a 100644 --- a/apps/nxtgauge-frontend-solid/base/ingress.yaml +++ b/apps/nxtgauge-frontend-solid/base/ingress.yaml @@ -12,6 +12,14 @@ spec: - hosts: - test111.nxtgauge.com secretName: test111-tls + # nxtgauge.com/www serve the SAME app/deployment as test111 - the only + # difference is src/middleware.ts redirects "/" on these two hosts to + # /coming-soon (pre-launch placeholder) while test111 shows the real + # app. No separate service/deployment needed. + - hosts: + - nxtgauge.com + - www.nxtgauge.com + secretName: nxtgauge-com-tls rules: - host: test111.nxtgauge.com http: @@ -34,3 +42,37 @@ spec: name: nxtgauge-frontend-solid port: number: 80 + - host: nxtgauge.com + http: + paths: + - path: /api + pathType: Prefix + backend: + service: + name: nxtgauge-rust-gateway + port: + number: 9100 + - path: / + pathType: Prefix + backend: + service: + name: nxtgauge-frontend-solid + port: + number: 80 + - host: www.nxtgauge.com + http: + paths: + - path: /api + pathType: Prefix + backend: + service: + name: nxtgauge-rust-gateway + port: + number: 9100 + - path: / + pathType: Prefix + backend: + service: + name: nxtgauge-frontend-solid + port: + number: 80 diff --git a/clusters/production/kustomization.yaml b/clusters/production/kustomization.yaml index 9c082ae..d70e560 100644 --- a/clusters/production/kustomization.yaml +++ b/clusters/production/kustomization.yaml @@ -5,7 +5,6 @@ resources: - ../../apps/nxtgauge-backend-rust/overlays/prod - ../../apps/nxtgauge-frontend-solid/overlays/prod - ../../apps/nxtgauge-admin-solid/overlays/prod - - ../../apps/nxtgauge-coming-soon/overlays/prod - ../../apps/nxtgauge-ai-assistant/overlays/prod - ../../apps/github-actions-runners/base - ../../apps/ollama/base