35 lines
810 B
YAML
35 lines
810 B
YAML
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: downtify-prod
|
|
namespace: downtify
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`downtify.forust.xyz`)
|
|
kind: Rule
|
|
middlewares:
|
|
- name: crowdsec-crowdsec-bouncer@kubernetescrd
|
|
- name: security-chain@file
|
|
services:
|
|
- name: downtify-service
|
|
port: 8000
|
|
tls:
|
|
certResolver: letsencrypt
|
|
---
|
|
apiVersion: traefik.io/v1alpha1
|
|
kind: IngressRoute
|
|
metadata:
|
|
name: downtify-local
|
|
namespace: downtify
|
|
spec:
|
|
entryPoints:
|
|
- websecure
|
|
routes:
|
|
- match: Host(`downtify.workstation.internal`) || Host(`downtify.gigaforust.internal`)
|
|
kind: Rule
|
|
services:
|
|
- name: downtify-service
|
|
port: 8000
|