File tree 1 file changed +8
-3
lines changed 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -372,14 +372,19 @@ def camelCaseify(s):
372
372
c .Spawner .debug = True
373
373
374
374
375
- # load seeded secrets
375
+ # load potentially seeded secrets
376
376
c .JupyterHub .proxy_auth_token = get_secret_value ("JupyterHub.proxy_auth_token" )
377
377
c .JupyterHub .cookie_secret = a2b_hex (get_secret_value ("JupyterHub.cookie_secret" ))
378
378
c .CryptKeeper .keys = get_secret_value ("CryptKeeper.keys" ).split (";" )
379
379
380
- # load hub.config values
380
+ # load hub.config values, except potentially seeded secrets
381
381
for section , sub_cfg in get_config ("hub.config" , {}).items ():
382
- c [section ].update (sub_cfg )
382
+ if section == "JupyterHub" and sub_cfg in ["proxy_auth_token" , "cookie_secret" ]:
383
+ pass
384
+ elif section == "CryptKeeper" and sub_cfg in ["keys" ]:
385
+ pass
386
+ else :
387
+ c [section ].update (sub_cfg )
383
388
384
389
# execute hub.extraConfig string
385
390
extra_config = get_config ("hub.extraConfig" , {})
You can’t perform that action at this time.
0 commit comments