Skip to content

Commit

Permalink
Merge pull request #81 from iameskild/fix_80
Browse files Browse the repository at this point in the history
Safely grab ssh.config from values.yaml
  • Loading branch information
consideRatio committed Sep 19, 2023
2 parents 34cbd18 + e5107a4 commit 6eb2b56
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 6eb2b56

Please sign in to comment.