fix: correct Traefik rule syntax for local IngressRoutes

Move parentheses outside Host() calls so that || and && operators
are properly grouped in Traefik rule expressions.
This commit is contained in:
2026-06-28 11:59:52 +02:00
parent 91211e7b78
commit bacb2f4b9f
4 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
services:
- name: gitea-service
port: 3000
- match: Host((`gcr.workstation.internal`) || Host(`gcr.gigaforust.internal)) && PathPrefix(`/v2`)
- match: (Host(`gcr.workstation.internal`) || Host(`gcr.gigaforust.internal`)) && PathPrefix(`/v2`)
kind: Rule
services:
- name: gitea-service