Hello all, I followed the jupyterhub-quickstart <https://github.com/jupyter-on-openshift/jupyterhub-quickstart> examples on GitHub and have a working jupyterhub instance in OpenShift that spawns instances of a custom notebook. Works great!
Now I am trying to add an input form to the jupyterhub spawner to capture an API token for use in the notebook instances. I have seen examples <https://github.com/kubeflow/kubeflow/blob/30f913986607bb8414d51ef6a23fe60fec9afe3c/kubeflow/core/jupyterhub_spawner.py> of using forms, but they all involve defining a new spawner class rather than passing parameters to the kubespawner instance. Attempts to create a custom spawner by overriding jupyterhub_spawner.py succeed in displaying a form, but break the rest of the deployment. So I am looking for advice on how to approach this problem. I was hoping to pass a form variable or html to the c.KubeSpawner object, but all the examples I have seen require creating a new spawner class and defining functions to handle the form data. Is there a way to use an input form with the existing KubeSpawner class? I'm a Jupyter novice, so it is possible I am missing something obvious. Appreciate any advice. -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscr...@googlegroups.com. To post to this group, send email to jupyter@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/17687197-560c-4348-88f5-7b1592cfac01%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.