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

33 lines
660 B
YAML

apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: uptime-kuma-prod
namespace: uptime-kuma
spec:
entryPoints:
- websecure
routes:
- match: HostRegexp(`^uptime\.forust\.xyz$`)
kind: Rule
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: HostRegexp(`^uptime\.(workstation|gigaforust)\.internal$`)
kind: Rule
services:
- name: uptime-kuma-service
port: 3001