Closed Adam-D-Lewis closed 1 year ago
I think we should forego the argo sso RBAC and give all users the ability to submit an argo workflow in the short term. We can try to re-add the capability where only developers and admins can submit argo workflows in the future.
I'll close this since there is no activity and I've implemented a solution with nebari-workflow-controller.
This is very much a Draft but I welcome feedback already if you want.
User Friendly Method for Jupyter users to run an Argo Workflow (Draft)
Summary
The current method of running Argo workflows from with Jupyterlab is not particularly user friendly. We'd like to have a beginner friendly way of running simple Argo Workflows even if this method has limitations making it not appropriate for more complex/large workflows.
User benefit
Many users have asked for ways to run/schedule workflows. This would fill many of those needs.
Design Proposal
class MySpawner(KubeSpawner): def pre_spawn_start(self, user, spawner_options):
Get the JWT token from the authentication server
Alternatives or approaches considered (if any)
Here
Best practices
User impact
Unresolved questions
Here's what I've done so far
dev
get_pod
permissionsconda run -n myEnv
and all the user directory and shared directories.So deviations from that are still untested.