Skip to content

Commit

Permalink
Safely grab ssh.config from values.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
iameskild committed Sep 12, 2023
1 parent 34cbd18 commit e5107a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm-chart/images/jupyterhub-ssh/jupyterhub_ssh_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
# FIXME: help this config migrate to ssh.config as well
c.JupyterHubSSH.hub_url = config["hubUrl"]

ssh_config = config.get("ssh", {}).get("config", {})
# load generic configuration
for app, cfg in config["ssh"]["config"].items():
for app, cfg in ssh_config.items():
c[app].update(cfg)

0 comments on commit e5107a4

Please sign in to comment.