Skip to content

[WIP - Do Not Merge] Separate auth methods from cluster methods #66

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

Closed
wants to merge 1 commit into from

Conversation

MichaelClifford
Copy link
Collaborator

This PR is aimed at making working with OpenShift environments a bit more user friendly by separating the authentication process from the the cluster object. Previously we automatically logged users in and out along with the cluster.up and cluster.down commands. This introduced the problem of needing to get a new token each time they restarted their ray cluster, since it also logged them out of their OpenShift cluster. Now users can use auth.login and auth.logout to control cluster access. cluster.up and cluster.down no longer force the authentication action, and the authentication object is no longer required in the cluster config.

@MichaelClifford
Copy link
Collaborator Author

cc @jbusche

Copy link
Collaborator

@KPostOffice KPostOffice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but tests need to be fixed to remove the authentication parameter

@MichaelClifford MichaelClifford changed the title separate auth methods from cluster methods [WIP - Do Not Merge] Separate auth methods from cluster methods Feb 24, 2023
@MichaelClifford
Copy link
Collaborator Author

MichaelClifford commented Feb 24, 2023

This PR needs to be reworked to account for changes made in #63, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants