goauthentik / helm

Helm chart for authentik
https://artifacthub.io/packages/search?org=goauthentik&sort=relevance&page=1
GNU General Public License v3.0
93 stars 44 forks source link

Secret blueprints treated as ConfigMap volumes #256

Closed sherif-fanous closed 6 months ago

sherif-fanous commented 6 months ago

There's a copy/paste? bug in deployment.yaml template where blueprints that are defined as secrets using .Values.blueprints.secrets are set to type configMap in https://github.com/goauthentik/helm/blob/ffbcec6aba80abee363895dcd50cda5236686e3e/charts/authentik/templates/worker/deployment.yaml#L212

This type of the volume in this case should be secret

Current impact is that the worker pod fails with FailedMount and message MountVolume.SetUp failed for volume "blueprints-secret-xyz" : configmap "xyz" not found

sherif-fanous commented 6 months ago

PR with fix: https://github.com/goauthentik/helm/pull/257