feat(k8s): protect all prod routers with crowdsec middleware

This commit is contained in:
2026-06-17 01:50:33 +02:00
parent 76853637bc
commit b9b8474455
16 changed files with 34 additions and 0 deletions
+4
View File
@@ -9,6 +9,8 @@ spec:
routes:
- match: Host(`adguard.forust.xyz`) || Host(`dns.forust.xyz`)
kind: Rule
middlewares:
- name: "crowdsec-crowdsec-bouncer@kubernetescrd"
services:
- name: adguard-service
port: 3000
@@ -41,6 +43,8 @@ spec:
routes:
- match: (Host(`adguard.forust.xyz`) || Host(`dns.forust.xyz`)) && PathPrefix(`/dns-query`)
kind: Rule
middlewares:
- name: "crowdsec-crowdsec-bouncer@kubernetescrd"
services:
- name: adguard-service
port: 3000