Skip to content

Commit 6eb2b56

Browse files
authored
Merge pull request #81 from iameskild/fix_80
Safely grab ssh.config from values.yaml
2 parents 34cbd18 + e5107a4 commit 6eb2b56

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

helm-chart/images/jupyterhub-ssh/jupyterhub_ssh_config.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# FIXME: help this config migrate to ssh.config as well
88
c.JupyterHubSSH.hub_url = config["hubUrl"]
99

10+
ssh_config = config.get("ssh", {}).get("config", {})
1011
# load generic configuration
11-
for app, cfg in config["ssh"]["config"].items():
12+
for app, cfg in ssh_config.items():
1213
c[app].update(cfg)

0 commit comments

Comments
 (0)