chore: compact ingress rules with regex
This commit is contained in:
+2
-17
@@ -7,7 +7,7 @@ spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`status.forust.xyz`)
|
||||
- match: HostRegexp(`^status\.forust\.xyz$`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kener-service
|
||||
@@ -24,24 +24,9 @@ spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`status.workstation.internal`)
|
||||
- match: HostRegexp(`^status\.(workstation|gigaforust)\.internal$`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kener-service
|
||||
port: 3000
|
||||
|
||||
---
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: kener-dev
|
||||
namespace: kener
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`status.gigaforust.internal`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: kener-service
|
||||
port: 3000
|
||||
|
||||
Reference in New Issue
Block a user