I'm opening this issue primarily for advice, but I also think that there may have been an unintentional side effect of a recent change to helm chart. #1407 moved the config files for the hub image to the helm chart files/ directory. Overall, this seems to be a good thing, but there seems to be a problem with trying to use a custom hub image with a custom configuration with this helm chart as a sub-chart. Maybe I'm just misunderstanding something.
Before this change, if I wanted to change jupyterhub_config.py, all I needed to do was build a custom hub image with my new jupyterhub_config.py file and then point the hub image in the helm chart to my custom image. Now though, even with a custom docker image for the hub, the helm chart version of jupyterhub_config.py gets mounted and run. Moreover, if I'm using this helm chart as a sub-chart in a larger helm app, I can't figure out a way I could overwrite the jupyterhub_config.py file without just forking this chart entirely and modifying the jupyterhub_config.py file directly.
Am I missing something? Did the hub customization become harder when using this chart as a sub-chart?
I'm very open to ideas, and just to be clear, using the extra_config is not enough because I want to sub-class KubeSpawner.
I'm opening this issue primarily for advice, but I also think that there may have been an unintentional side effect of a recent change to helm chart. #1407 moved the config files for the hub image to the helm chart
files/directory. Overall, this seems to be a good thing, but there seems to be a problem with trying to use a custom hub image with a custom configuration with this helm chart as a sub-chart. Maybe I'm just misunderstanding something.Before this change, if I wanted to change
jupyterhub_config.py, all I needed to do was build a custom hub image with my newjupyterhub_config.pyfile and then point the hub image in the helm chart to my custom image. Now though, even with a custom docker image for the hub, the helm chart version ofjupyterhub_config.pygets mounted and run. Moreover, if I'm using this helm chart as a sub-chart in a larger helm app, I can't figure out a way I could overwrite thejupyterhub_config.pyfile without just forking this chart entirely and modifying thejupyterhub_config.pyfile directly.Am I missing something? Did the hub customization become harder when using this chart as a sub-chart?
I'm very open to ideas, and just to be clear, using the
extra_configis not enough because I want to sub-class KubeSpawner.