mintel / dex-k8s-authenticator

A Kubernetes Dex Client Authenticator
MIT License
374 stars 146 forks source link

Allow configuration using env in helm chart #175

Closed nenadalm closed 3 years ago

nenadalm commented 3 years ago

dex-k8s-authenticator allows usage of env variables in configuration: https://github.com/mintel/dex-k8s-authenticator/blob/98a3d45cb878f0baad9b3e19019fcbf6f9d42584/docs/config.md#environment-variable-support

but there seems to be no way to pass environment variables into the pod.

this pr allows passing data from secret as environment variables same way dex chart does it:

nabadger commented 3 years ago

Apologies for such a long delay - thanks for this.

I'll most likely follow up with supporting env too (same way dexidp does it).