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

Create oauth objects when RayCluster spec suspend is false #660

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

sutaakar
Copy link
Contributor

@sutaakar sutaakar commented Feb 6, 2025

Issue link

What changes have been made

Use RayCluster spec.suspend field to detect that Ray cluster was admitted and oauth resources should be created.
Previous status.state field isn't usable any more as newer KubeRay version set state once Ray pods are up and running.

Verification steps

Verified manually against OCP.

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • Testing is not required for this change

Copy link
Contributor

@Bobbins228 Bobbins228 left a comment

Choose a reason for hiding this comment

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

/lgtm

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

@astefanutti
Copy link
Contributor

/lgtm

@sutaakar
Copy link
Contributor Author

sutaakar commented Feb 6, 2025

debugging to check why oauth is not created on KinD

@openshift-ci openshift-ci bot removed the lgtm label Feb 6, 2025
@sutaakar sutaakar marked this pull request as ready for review February 6, 2025 19:50
@openshift-ci openshift-ci bot requested a review from varshaprasad96 February 6, 2025 19:50
@openshift-ci openshift-ci bot added the lgtm label Feb 7, 2025
Copy link
Contributor

@ChristianZaccaria ChristianZaccaria left a comment

Choose a reason for hiding this comment

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

/lgtm

Copy link

openshift-ci bot commented Feb 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: astefanutti, ChristianZaccaria, KPostOffice

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [ChristianZaccaria,KPostOffice,astefanutti]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 1895a05 into project-codeflare:main Feb 7, 2025
8 checks passed
@sutaakar sutaakar deleted the raycluster branch February 7, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants