feat: add ForwardAuth middleware, protect Longhorn and Hubble with Authentik

This commit is contained in:
2026-07-01 21:10:35 +01:00
parent 194128c463
commit 4ca7278782
3 changed files with 60 additions and 34 deletions
+39
View File
@@ -0,0 +1,39 @@
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: longhorn-ui
namespace: longhorn-system
spec:
entryPoints:
- websecure
routes:
- match: Host(`longhorn.solidish.dev`)
kind: Rule
middlewares:
- name: authentik-forwardauth
namespace: traefik
services:
- name: longhorn-frontend
port: 80
tls:
secretName: longhorn-solidish-dev-tls
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: hubble-ui
namespace: kube-system
spec:
entryPoints:
- websecure
routes:
- match: Host(`hubble.solidish.dev`)
kind: Rule
middlewares:
- name: authentik-forwardauth
namespace: traefik
services:
- name: hubble-ui
port: 80
tls:
secretName: hubble-solidish-dev-tls