Secure Kubernetes Dashboard with Authelia forward_auth #29
Labels
No labels
Monitoring
automation
bug
duplicate
feature
forgejo
help wanted
invalid
k3s
keycloak
ldap
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/homelab#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Kubernetes Dashboard is exposed via LoadBalancer (192.168.0.209) but has no authentication layer in Caddy. The bearer token is the only barrier.
Solution
Add a Caddy route with
forward_authpointing to Authelia, so users must authenticate before accessing the dashboard.Steps
caddy/configmap.yaml: