Upgrade authentik to 2026.8.1, pin init-container off debian:13-slim - #190
Merged
Conversation
Chart 2026.2.2 -> 2026.8.1, stepped through 2026.5.6 in between -- authentik enforces sequential major.minor upgrades and jumping straight to 2026.8.1 crash-loops the server with "Major version skips are not allowed". Also redirects the bundled postgres's volumePermissions init container from the chart's default docker.io/debian:13-slim to docker.io/library/postgres:17.11-bookworm (already pulled for the main container). debian:13-slim reproducibly failed to pull from gandalf twice during this upgrade with "insufficient_scope: authorization failed" -- not a rate limit, not seen on any other image pulled that day. Left unresolved this would break any future postgres pod recreation (node reboot, eviction, etc.), not just this upgrade. Reviewed the 2026.5 and 2026.8 release notes for breaking changes: AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS already covers Traefik's pod CIDR for 2026.8's new trusted-proxy header restriction; the removed flow-import API and hash_password CLI arg change aren't used anywhere in this repo. Verified post-upgrade: OIDC login redirect and forward-auth-gated Prometheus/Alertmanager both working. Assisted-by: AI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades authentik from 2026.2.2 to 2026.8.1 (already applied live via
helm upgrade), and codifies a fix for a postgres init-container image that reproducibly failed to pull during the upgrade.Changes
authentik/authentik2026.2.2 -> 2026.8.1, stepped through 2026.5.6 in between. Authentik enforces sequential major.minor upgrades -- jumping straight from 2026.2.x to 2026.8.x crash-loops the server withMajor version skips are not allowed.volumePermissionsinit container redirected from the chart default (docker.io/debian:13-slim) todocker.io/library/postgres:17.11-bookworm(already pulled for the main container, and Debian-based so it has thechown/chmodthe init step needs).Why the image override
debian:13-slimreproducibly failed to pull from gandalf twice during this upgrade withinsufficient_scope: authorization failed-- confirmed it wasn't a Docker Hub rate limit (99/100 remaining via a direct token check) and no otherdocker.ioimage pulled that day hit the same error. Left unfixed, this would break any future postgres pod recreation too (node reboot, eviction, etc.), not just this one upgrade -- worth fixing durably rather than working around it once.Testing
AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRSalready covers Traefik's pod CIDR for 2026.8's new trusted-proxy header restriction; the removed flow-import API endpoint and thehash_passwordCLI arg change aren't used anywhere in this repo; bundled postgres moved 17.9-bookworm -> 17.11-bookworm (patch-only, same major)./-/health/ready/returns 200, OIDC login redirect toauthentik.vigihome.networks, forward-auth-gatedprometheus.vigihome.netandgrafana.vigihome.netboth correctly 302 through Authentik.debian:13-slimpull failure, and the major-version-skip crash loop from an initial attempt that went straight from 2026.2.2 to 2026.8.1.🤖 Built with AI assistance.