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

feat: add take over and drift detection options in CRP API #903

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

ryanzhang-oss
Copy link
Contributor

Description of your changes

Fixes #

I have:

  • Run make reviewable to ensure this PR is ready for review.

How has this code been tested

Special notes for your reviewer

@ryanzhang-oss ryanzhang-oss force-pushed the take-over-drift-api branch 2 times, most recently from e029576 to 8446e9d Compare August 14, 2024 00:18
@ryanzhang-oss ryanzhang-oss marked this pull request as draft August 14, 2024 00:19
@ryanzhang-oss ryanzhang-oss marked this pull request as ready for review August 14, 2024 19:53
@ryanzhang-oss ryanzhang-oss force-pushed the take-over-drift-api branch 2 times, most recently from 9de8b3b to a8beaed Compare August 14, 2024 20:39
@ryanzhang-oss ryanzhang-oss changed the title feat: add take over and drift detection options feat: add take over and drift detection options in CRP API Aug 16, 2024
// +kubebuilder:default=AlwaysApply
// +kubebuilder:validation:Enum=AlwaysApply;ApplyIfNoDiff
// +optional
TakeoverAction TakeOverActionType `json:"actionType,omitempty"`

Choose a reason for hiding this comment

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

Does TakeoverAction have no impact if ApplyStrategyType is set to ReportDiff?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, the ApplyStrategyType determines the action

Copy link
Contributor

@michaelawyu michaelawyu left a comment

Choose a reason for hiding this comment

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

LGTM ;)

@michaelawyu michaelawyu merged commit f211297 into Azure:main Aug 27, 2024
11 checks passed
@michaelawyu
Copy link
Contributor

A side note: will reach to the customer asking for this feature to confirm on their use cases

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.

5 participants