Fixed minor issues

This commit is contained in:
GeorgianaElena
2019-02-12 14:35:59 +02:00
parent 03b4c6218b
commit 956c95e527
4 changed files with 4 additions and 4 deletions

View File

@@ -86,7 +86,7 @@ def main():
'git+https://github.com/jupyterhub/the-littlest-jupyterhub.git' 'git+https://github.com/jupyterhub/the-littlest-jupyterhub.git'
) )
traefik_proxy_repo_path = 'git+https://github.com/jupyterhub/traefik-proxy.git' traefik_proxy_repo_path = 'jupyterhub-traefik-proxy==0.1.0a1'
subprocess.check_output([ subprocess.check_output([
os.path.join(hub_prefix, 'bin', 'pip'), os.path.join(hub_prefix, 'bin', 'pip'),

View File

@@ -182,4 +182,4 @@ def test_set_auth_api():
} }
}) })
assert c.TraefikTomlProxy.traefik_api_username == 'some_user' assert c.TraefikTomlProxy.traefik_api_username == 'some_user'
assert c.TraefikTomlProxy.traefik_api_password == '1234' assert c.TraefikTomlProxy.traefik_api_password == '1234'

View File

@@ -84,4 +84,4 @@ def check_service_active(name):
], check=True) ], check=True)
return True return True
except subprocess.CalledProcessError: except subprocess.CalledProcessError:
return False return False

View File

@@ -41,7 +41,7 @@ idleTimeout = "10m0s"
{% endif %} {% endif %}
{% endif %} {% endif %}
[entryPoints.auth_api] [entryPoints.auth_api]
address = ":{{auth_api['port']}}" address = "127.0.0.1:{{auth_api['port']}}"
[entryPoints.auth_api.whiteList] [entryPoints.auth_api.whiteList]
sourceRange = ['{{auth_api['ip']}}'] sourceRange = ['{{auth_api['ip']}}']
[entryPoints.auth_api.auth.basic] [entryPoints.auth_api.auth.basic]