Skip to content
New issue

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

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

Already on GitHub? # to your account

Adds UPDATE to the RayCluster Mutating Webhook so apply can be used #638

Conversation

akram
Copy link
Contributor

@akram akram commented Dec 9, 2024

Issue link

What changes have been made

Adds UPDATE to the list of operations on which the RayCluster Mutating Webhook operates on.
This allows to oc apply -f or oc replace to work and gives the ability to update existing running rayclusters without deleting them.

Verification steps

Redeploy the mutating webhook and create, update and delete rayclusters and re-create them.

Checks

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

@akram akram changed the title Draft: Adds UPDATE to the RayCluster Mutating Webhook so apply can be applied Draft: Adds UPDATE to the RayCluster Mutating Webhook so apply can be used Dec 9, 2024
@akram akram force-pushed the add-update-to-raycluster-mutating-webhook branch from c111e0a to dc7021d Compare December 9, 2024 10:42
@sutaakar
Copy link
Contributor

Just a note - it may be good to convert the PR to draft itself - that will avoid accidental merge.

@akram akram marked this pull request as draft December 10, 2024 12:47
@akram akram marked this pull request as ready for review December 16, 2024 18:37
@akram akram changed the title Draft: Adds UPDATE to the RayCluster Mutating Webhook so apply can be used Adds UPDATE to the RayCluster Mutating Webhook so apply can be used Dec 16, 2024
Copy link
Contributor

@sutaakar sutaakar 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
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

openshift-ci bot commented Dec 17, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: sutaakar

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:

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 8ad4785 into project-codeflare:main Dec 17, 2024
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants