Home:ALL Converter>mount secrets for jupyterhub on kubernetes with Helm

mount secrets for jupyterhub on kubernetes with Helm

Ask Time:2021-04-15T22:58:55         Author:KLA

Json Formatter

I am new to Kubernetes and Helm. I deployed a jupyterhub pod on Kubernetes (on GCP) following this line

https://zero-to-jupyterhub.readthedocs.io/en/stable/jupyterhub/installation.html

  • First, I managed to get it working with simple configuration and in order to interact with GCS from the notebooks I am currently uploading a keyfile.json for each user and using environment variable GOOGLE_APPLICATION_CREDENTIALS.

  • I would like to mount the keyfile as secret in the values.yaml. How could I do that ? Basically, I would like to get rid of uploading manually the file for each user and have it mounted automatically through the yaml file.

Thanks

Author:KLA,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/67110891/mount-secrets-for-jupyterhub-on-kubernetes-with-helm
yy