Exclude traefik-middlewares.yaml - Middleware CRD not installed on cluster

kubectl api-resources shows no Middleware kind under any API group, so
this manifest could never apply and was blocking the entire core
Kustomization. The Ingress annotation referencing it has been a
pre-existing no-op; CORS is actually handled by nginx-queue-proxy.conf
and each app's own CORS middleware.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Suriya
2026-07-20 11:00:04 +05:30
parent f883540272
commit 1b38a0c240

View File

@@ -14,4 +14,8 @@ resources:
- workers.yaml
- worker-pdb.yaml
- ingress-unified.yaml
- traefik-middlewares.yaml
# traefik-middlewares.yaml intentionally excluded - this cluster's
# Traefik has no Middleware CRD installed under any API group, so this
# can never apply. The router.middlewares annotation referencing it on
# the Ingress has been a pre-existing no-op; actual CORS handling comes
# from nginx-queue-proxy.conf and the apps' own CORS middleware.