You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
696 B
YAML

apiVersion: traefik.containo.us/v1alpha1
kind: Middleware
metadata:
name: prefix-dashboard-services
namespace: uptime-kuma
spec:
addPrefix:
prefix: /status/public
---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: uptime-kuma-route
namespace: uptime-kuma
spec:
entryPoints:
- web
routes:
- match: Host(`status.cluster.trivernis.dev`) || Host(`status.cluster.trivernis.net`)
kind: Rule
services:
- name: uptime-kuma
port: 3001
- match: Host(`status.trivernis.dev`) || Host(`status.trivernis.net`)
kind: Rule
middlewares:
- name: prefix-dashboard-services
services:
- name: uptime-kuma
port: 3001