Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add User Management Scripts documentation #2888

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,43 @@ For example, running the above command locally with required packages like _pass

4. Try to login using the new dex password.

### User Management Scripts:

For more advanced user management, including automated profile creation, deletion, and local user registry, you can use the Kubeflow User Management Scripts. These scripts provide the following features:

- Automated user profile creation in Kubeflow
- User deletion with proper cleanup
- Dex configuration management for user authentication
- Local JSON-based user registry for tracking user details and actions
- Customizable resource quotas for each user

To use these scripts:

1. Clone the repository:
```
git clone https://github.com/choudhryfrompak/kubeflow-user-creation-deletion-scripts.git
cd kubeflow-user-creation-deletion-scripts
```

2. Install required Python packages:
```
cd scripts
pip install -r requirements.txt
```

3. To create a new user:
```
python3 create-user.py
```
Follow the prompts to enter user details.

4. To delete a user:
```
python3 delete_user.py <username>
```

For more detailed information and customization options, refer to the [Kubeflow User Management Scripts README](https://github.com/choudhryfrompak/kubeflow-user-creation-deletion-scripts).

## Upgrading and extending

For modifications and in place upgrades of the Kubeflow platform we provide a rough description for advanced users:
Expand Down
1 change: 1 addition & 0 deletions common/dex/overlays/oauth2-proxy/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ data:
userID: "15841185641784"
staticClients:
# https://github.com/dexidp/dex/pull/1664
#https://github.com/choudhryfrompak/kubeflow-user-creation-deletion-scripts
- idEnv: OIDC_CLIENT_ID
redirectURIs: ["/oauth2/callback"]
name: 'Dex Login Application'
Expand Down
Loading