55 lines
1.3 KiB
Markdown
55 lines
1.3 KiB
Markdown
# Authentik
|
|
|
|
Authentik is the homelab identity provider and SSO control plane.
|
|
|
|
It intentionally runs outside Kubernetes as a Debian-hosted Docker Compose
|
|
stack. That keeps login available while the Kubernetes cluster is rebuilt,
|
|
recreated, or broken.
|
|
|
|
## Placement decision
|
|
|
|
The Raspberry Pi 4 is useful as a lightweight always-on appliance, but this lab
|
|
already uses it for DNS, Unbound, Uptime Kuma, and node-exporter. Authentik is
|
|
stateful and will become a dependency for Grafana, Argo CD, Jellyfin, and other
|
|
apps, so the first standalone placement is the Debian host under `/data`.
|
|
|
|
The RPi can become a later failover target after restore drills prove the
|
|
PostgreSQL/media backup path.
|
|
|
|
## Deploy
|
|
|
|
Run from the Debian homelab server:
|
|
|
|
```bash
|
|
./jeannie deploy-authentik
|
|
./jeannie edge
|
|
```
|
|
|
|
After the standalone stack is healthy and edge points to it, remove the old
|
|
Kubernetes proof-of-concept release:
|
|
|
|
```bash
|
|
./jeannie platform
|
|
```
|
|
|
|
The deploy command reuses the existing SOPS-encrypted secret:
|
|
|
|
```text
|
|
apps/authentik/authentik.secret.yaml
|
|
```
|
|
|
|
It renders a local Compose `.env` file on the Debian host. Do not commit the
|
|
rendered `.env` file.
|
|
|
|
## Public URL
|
|
|
|
```text
|
|
https://auth.lab2025.duckdns.org/
|
|
```
|
|
|
|
First setup:
|
|
|
|
```text
|
|
https://auth.lab2025.duckdns.org/if/flow/initial-setup/
|
|
```
|