openshift-homeroom / workshop-dashboard

Adds content hosting to workshop terminals.
Apache License 2.0
47 stars 37 forks source link

Add /restart handler which optionally tags volume for deletion and then restarts. #18

Open GrahamDumpleton opened 5 years ago

GrahamDumpleton commented 5 years ago

This should take parameter which indicates should delete volume, which creates /opt/app-root/.delete-volume and then redirects to actual hub restart URL.

The restart popup of dashboard should have a tick box which is displayed if VOLUME_SIZE is non empty, indicating persistent volume is used. The multi user workshops would need to set this on pods.