Files
homelab/uptime-kuma/k8s/ingress.yaml
T

35 lines
746 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: uptime-kuma-prod
namespace: uptime-kuma
spec:
entryPoints:
- websecure
routes:
- match: Host(`uptime.forust.xyz`)
kind: Rule
middlewares:
- name: crowdsec-bouncer
namespace: crowdsec
services:
- name: uptime-kuma-service
port: 3001
tls:
certResolver: letsencrypt
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: uptime-kuma-local
namespace: uptime-kuma
spec:
entryPoints:
- websecure
routes:
- match: Host(`uptime.workstation.internal`) || Host(`uptime.gigaforust.internal`)
kind: Rule
services:
- name: uptime-kuma-service
port: 3001