LibreTexts / ngshare

nbgrader sharing service
https://ngshare.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
16 stars 16 forks source link

Fix ngshare not working with Z2JH 0.10.0 and above #142

Closed rkevin-arch closed 3 years ago

rkevin-arch commented 3 years ago

In Z2JH 0.10.0 and above, network policies are enabled by default, which locks down traffic that is allowed to reach the hub. Therefore, ngshare is no longer able to reach the hub pod. Since ngshare uses the hub for authentication, it causes any API request to hang indefinitely. This PR adds the hub.jupyter.org/network-access-hub: "true" annotation to the ngshare deployment, which allows it to communicate with the hub again according to the Z2JH documentation. The 0.5.3-n008.h44632c7 helm chart version has been tested on the LibreTexts cluster and it works.

Fixes #139.