Fix uptime-kuma route

main
trivernis 1 year ago
parent f603370b81
commit b370819f51
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -1,13 +1,4 @@
apiVersion: traefik.containo.us/v1alpha1 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 kind: IngressRoute
metadata: metadata:
name: uptime-kuma-route name: uptime-kuma-route
@ -16,7 +7,7 @@ spec:
entryPoints: entryPoints:
- web - web
routes: routes:
- match: Host(`status.cluster.trivernis.dev`, `status.cluster.trivernis.net`) - match: Host(`status.cluster.trivernis.dev`, `status.cluster.trivernis.net`, `status.trivernis.dev`, `status.trivernis.net`)
kind: Rule kind: Rule
middlewares: middlewares:
- name: strict-security-headers - name: strict-security-headers
@ -24,12 +15,3 @@ spec:
services: services:
- name: uptime-kuma - name: uptime-kuma
port: http 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

Loading…
Cancel
Save