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.

36 lines
828 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`, `status.cluster.trivernis.net`)
kind: Rule
middlewares:
- name: strict-security-headers
namespace: default
services:
- name: uptime-kuma
port: http
- match: Host(`status.trivernis.dev`, `status.trivernis.net`)
kind: Rule
middlewares:
- name: strict-security-headers
namespace: default
- name: prefix-dashboard-services
services:
- name: uptime-kuma
port: http