Skip to content

charts/authentik: avoid mounting envFrom secret if secret configuration disabled - #497

Merged
rissson merged 1 commit into
goauthentik:mainfrom
baprx:fix/skip-mounting-envfrom-secret-disabled
Jul 28, 2026
Merged

charts/authentik: avoid mounting envFrom secret if secret configuration disabled#497
rissson merged 1 commit into
goauthentik:mainfrom
baprx:fix/skip-mounting-envfrom-secret-disabled

Conversation

@baprx

@baprx baprx commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

If a user wants to configure authentik by only providing environment variables (eg: .Values.global.env), disabling the secret creation and not setting existing secret doesn't stop the envFrom from being templated in the deployments.

Sourcing configuration from env only could be useful to source config from different secrets (I'm using CNPG and I source the PG passwords from a specific secret).

If a user wants to configure authentik by only providing environment variables (eg: .Values.global.env), disabling the secret creation and not setting existing secret doesn't stop the envFrom from being templated in the deployments.

Sourcing configuration from env only could be useful to source config from different secrets (I'm using CNPG and I source the PG passwords from a specific secret).

Signed-off-by: Baptiste ROUX <arte.but.posix@gmail.com>
@baprx
baprx requested a review from a team as a code owner July 21, 2026 06:15
@rissson rissson changed the title fix: avoid mounting envFrom secret if secret configuration disabled charts/authentik: avoid mounting envFrom secret if secret configuration disabled Jul 28, 2026
@rissson
rissson enabled auto-merge (squash) July 28, 2026 11:50
@rissson
rissson merged commit 970e12d into goauthentik:main Jul 28, 2026
2 checks passed
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.

2 participants