Kubernetes secrets as environment variables in JupyterHub

Hi!

I have a kubernetes secret containing data which I want to expose to the JupyterLab-user as an environment variable. How would I go about doing this? As far as I understand, I cannot use extraEnv in the helm-chart, as this does not actually read the kubernetes secret.

I am trying to follow the official guide but I am stuck.

Cheers in advance!