From 7be2f4eb617cf4d9da8a4cff298be939a291fbfa Mon Sep 17 00:00:00 2001 From: ZhenYi <434836402@qq.com> Date: Sat, 18 Apr 2026 00:51:52 +0800 Subject: [PATCH] fix(deploy): simplify ingress by removing static paths The SPA assets are embedded in the app binary, so no separate static file serving is needed. --- deploy/templates/ingress.yaml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/deploy/templates/ingress.yaml b/deploy/templates/ingress.yaml index c7b8b36..130da26 100644 --- a/deploy/templates/ingress.yaml +++ b/deploy/templates/ingress.yaml @@ -1,4 +1,3 @@ -{{- /* Single unified Ingress for all services */ -}} {{- $fullName := include "gitdata.fullname" . -}} {{- $ns := include "gitdata.namespace" . -}} apiVersion: networking.k8s.io/v1 @@ -25,24 +24,9 @@ spec: - static.gitdata.ai secretName: {{ $fullName }}-tls rules: - # SPA (embedded in app), with /api and /ws - host: gitdata.ai http: paths: - - path: /api - pathType: Prefix - backend: - service: - name: {{ $fullName }}-app - port: - number: {{ .Values.app.service.port }} - - path: /ws - pathType: Prefix - backend: - service: - name: {{ $fullName }}-app - port: - number: {{ .Values.app.service.port }} - path: / pathType: Prefix backend: