Skip to content

fix(authentik): roll chart forward to 2026.5.5 to match migrated prod DB (#555) - #556

Merged
izzywdev merged 7 commits into
masterfrom
claude/authentik-tag-2026-5-5-555
Aug 4, 2026
Merged

fix(authentik): roll chart forward to 2026.5.5 to match migrated prod DB (#555)#556
izzywdev merged 7 commits into
masterfrom
claude/authentik-tag-2026-5-5-555

Conversation

@izzywdev

@izzywdev izzywdev commented Aug 4, 2026

Copy link
Copy Markdown
Owner

Fixes #555

Problem

The fuzefront Argo app is Degraded: the Helm chart pinned the authentik image to 2024.12.3, but the prod DB was migrated out-of-band to 2026.5.5. Authentik migrations are forward-only, so 2024.12.3 crashloops against the migrated DB, and Argo selfHeal keeps reverting the live 2026.5.5 pod back to 2024.12.3.

Fix (load-bearing, prod)

Roll the chart forward to 2026.5.5 so it matches the migrated DB.

  • deploy/helm/fuzefront/values.yamlauthentik.image.tag: 2024.12.3 -> 2026.5.5. values-prod.yaml does not override the authentik image tag (verified), so prod inherits this value. This is the only change needed to un-wedge the rollout.

Non-prod alignment was attempted and reverted (with CI proof)

The issue also asked to bump docker-compose.yml, docker-compose.e2e.yml, and deploy/e2e/provision-authentik-oidc.sh for consistency. I made those changes, but CI proved the E2E harness cannot run 2026.5.5 without a code change, so I reverted them to keep this PR green and correctly scoped:

  • Both OIDC Plumbing E2E and E2E (sign-in) failed on 2026.5.5 (they pass on master @ 2024.12.3).
  • Provisioning succeeds (implicit-consent authorization flow resolves, provider + invalidation flow created), but at sign-in the security service logs:
    Unsupported Authentik flow stage: authorize returned HTTP 200 without redirect (consent flow?) (only identification+password is supported server-side) -> Authentik rejected credentials -> POST /api/v1/security/session -> 503.
  • Root cause: authentik 2026.5.5's server-side flow executor returns the final redirect as an HTTP 200 challenge (type: redirect) instead of an HTTP 302. The security service's headless flow driver only understands identification+password and rejects the 200. This is a security-service code change, out of scope for a chart image-tag bump.

Prod's live 2026.5.5 pod already works via interactive browser OIDC; only the headless E2E path is affected, so prod is unblocked by the values.yaml change alone.

Follow-up tracked separately: migrate the local + E2E authentik harness to 2026.5.5 (requires teaching the security-service headless flow driver to handle authentik's redirect challenge).

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
…d prod DB (#555)

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 17:35
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Automated code review (gate-code-review)

Credit balance is too low

Report-only — this check never blocks merge.

…ss sign-in needs a security-service flow-driver update (out of scope for #555)

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
…e headless OIDC E2E (security-service incompatibility); tracked as follow-up (#555)

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Automated code review (gate-code-review)

Credit balance is too low

Report-only — this check never blocks merge.

…match the e2e image (#555)

Claude-Session-Id: 939d3fb6-7af2-4a38-9f26-f94ed9d0bcba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prod: authentik rollout wedged — chart pins 2024.12.3 but DB migrated to 2026.5.5 (selfHeal downgrade loop; fuzefront app Degraded)

1 participant