Commit graph

10 commits

Author SHA1 Message Date
70db0ccfd3 apps/headlamp/deployment.yaml aktualisiert 2026-07-18 08:45:24 +00:00
9e1988aba3 apps/headlamp/deployment.yaml aktualisiert 2026-07-18 08:44:20 +00:00
cee563f555 apps/headlamp/deployment.yaml aktualisiert 2026-07-18 08:41:53 +00:00
CTO Agent
c6993d337c Fix Headlamp OIDC callback URL generation
Set HEADLAMP_CONFIG_BASE_URL to https://headlamp.basicstack.de to ensure
the OIDC callback URL is generated correctly with HTTPS scheme. When
running behind Traefik without explicit base URL, Headlamp may generate
http:// callback URLs instead of https://, causing OIDC flow failures.

Also added traefik.ingress.kubernetes.io/preserve-host annotation to
ensure proper header forwarding.

Fixes: DEV-324

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-18 08:39:12 +00:00
CTO Agent
519e7e95e7 Revert BASE_URL to empty - Headlamp expects path not full URL
Headlamp's BASE_URL config expects a path prefix (e.g., "/headlamp") or empty
string, not a full URL. Since Headlamp is deployed at the domain root, BASE_URL
should be empty.

The OIDC redirect URIs in Pocket ID are correctly configured and the user has
been added to the headlamp group, which should resolve the authentication issue.

Related to DEV-324

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-18 08:33:33 +00:00
CTO Agent
442aca2254 Fix Headlamp OIDC login by setting BASE_URL and correcting env var names
- Set HEADLAMP_CONFIG_BASE_URL to https://headlamp.basicstack.de (was empty)
- Fix environment variable names to use underscores (OIDC_IDP_ISSUER_URL, etc.)
- Update image version to v0.43.0 to match deployed version

The missing BASE_URL caused the OIDC redirect flow to fail, resulting in the
auth popup closing immediately. Environment variable name corrections ensure
consistency with Headlamp's expected configuration format.

Resolves DEV-324

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-18 08:30:41 +00:00
f40b3c7362 apps/headlamp/deployment.yaml aktualisiert 2026-07-18 08:13:46 +00:00
00468d6d70 apps/headlamp/deployment.yaml aktualisiert 2026-07-18 08:11:26 +00:00
CTO Agent
38ddae08a9 docs(headlamp): document authentication methods and troubleshooting
Add clear documentation for both OIDC and token-based authentication.
Include troubleshooting section for common 403 errors caused by
using tokens from wrong namespace.

Fixes issue where token was generated from kube-system instead of
headlamp namespace, causing 403 errors on metrics API.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-18 08:00:11 +00:00
CTO Agent
e640db0880 Add Headlamp Kubernetes dashboard deployment
- Deploy Headlamp v0.27.0 in dedicated namespace
- Configure OIDC authentication with Pocket ID
- Grant cluster-admin access via service account
- Expose via Traefik ingress at headlamp.basicstack.de
- Seal OIDC client credentials
- Enable access for andreas.leinen@basicstack.de and admin@basicstack.de

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-07-18 07:37:58 +00:00