chore: compact ingress rules with regex

This commit is contained in:
2026-06-11 14:20:03 +02:00
parent 30f0f05150
commit 68c5eac164
20 changed files with 58 additions and 421 deletions
+2 -17
View File
@@ -7,7 +7,7 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`portainer.forust.xyz`)
- match: HostRegexp(`^portainer\.forust\.xyz$`)
kind: Rule
services:
- name: portainer-service
@@ -24,24 +24,9 @@ spec:
entryPoints:
- websecure
routes:
- match: Host(`portainer.workstation.internal`)
- match: HostRegexp(`^portainer\.(workstation|gigaforust)\.internal$`)
kind: Rule
services:
- name: portainer-service
port: 9000
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: portainer-dev
namespace: portainer
spec:
entryPoints:
- websecure
routes:
- match: Host(`portainer.gigaforust.internal`)
kind: Rule
services:
- name: portainer-service
port: 9000