我是 helm chart 和 Kubernetes 的新手,我正在尝试使用kindhelm chart 在我的本地机器(使用集群)上安装 JupyterHub jupyterhub/jupyterhub,我正在运行以下命令
helm upgrade --cleanup-on-fail \ ─╯
--install mzjhub jupyterhub/jupyterhub \
--namespace mzjhub \
--create-namespace \
--version=0.10.6 \
--values config_github.yaml
并使用端口转发
kubectl port-forward -n mzjhub svc/proxy-public 8080:80 &
我的内容config_github.yaml如下(我已经掩盖了我的 github 详细信息)
proxy:
secretToken: "511af7fdb8ba1e8252599182aaed26a4e36af42cac257601ea7d2583fbdb1e65"
hub:
config:
JupyterHub:
authenticator_class: github
GitHubOAuthenticator:
client_id: xxxxxxxxxxx
client_secret: xxxxxxxxxxxxxxxxxxx
oauth_callback_url: https://api.xxxxxx.com/auth/
一切运行良好,我可以访问 JupyterHub 登录页面,但它没有提供任何 GitHub 身份验证选项,如果我在用户名/密码字段中输入任何值并单击登录按钮,它会毫无问题地对其进行身份验证。
我指的是我的设置的官方指南
- https://zero-to-jupyterhub.readthedocs.io/en/stable/jupyterhub/installation.html#prepare-configuration-file
- https://zero-to-jupyterhub.readthedocs.io/en/stable/administrator/authentication.html
如果我在这里遗漏了 GitHub 登录身份验证的任何内容,请告诉我?
