From d9cd97318b3b54fb860a0900c567cf8098f027db Mon Sep 17 00:00:00 2001 From: vantanminh Date: Sat, 3 Oct 2026 03:06:23 +0000 Subject: [PATCH] fix: keep cloud.knotree.com routed to the Cloud chart Give the console API and web IngressRoutes priority over any leftover control-plane Ingress that claimed the same host. Co-authored-by: Cursor --- deploy/helm/knotree-api/templates/ingressroute.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/helm/knotree-api/templates/ingressroute.yaml b/deploy/helm/knotree-api/templates/ingressroute.yaml index 384759f..22a93ab 100644 --- a/deploy/helm/knotree-api/templates/ingressroute.yaml +++ b/deploy/helm/knotree-api/templates/ingressroute.yaml @@ -11,6 +11,7 @@ spec: routes: - match: Host(`{{ .Values.ingress.host }}`) && (PathPrefix(`/api`) || PathPrefix(`/healthz`) || PathPrefix(`/readyz`) || PathPrefix(`/oauth`) || PathPrefix(`/mcp`) || PathPrefix(`/.well-known`)) kind: Rule + priority: 1000 services: - name: {{ include "knotree-api.fullname" . }} port: {{ .Values.service.port }} @@ -24,6 +25,7 @@ spec: {{- if .Values.web.enabled }} - match: Host(`{{ .Values.web.ingress.host }}`) kind: Rule + priority: 1000 services: - name: {{ include "knotree-api.fullname" . }}-web port: {{ .Values.web.service.port }}