2i2c-org / binderhub-service

https://2i2c.org/binderhub-service/
BSD 3-Clause "New" or "Revised" License
8 stars 3 forks source link

Add config `custom` #135

Closed consideRatio closed 4 months ago

consideRatio commented 4 months ago

The implementation is like z2jh, which is documented there:

Additional values to pass to the Hub. JupyterHub will not itself look at these, but you can read values in your own custom config via hub.extraConfig. For example:

custom:
 myHost: "https://example.horse"
hub:
 extraConfig:
   myConfig.py: |
     c.MyAuthenticator.host = get_config("custom.myHost")

This can be used to help toggle larger code sections in extraConfig for example.