Skip to content

Conversation

@zhiying-lin
Copy link
Contributor

Description of your changes

Create handleUpdate func for v1 CRP in order to not break the existing e2e tests.

The current handleUpdate func only creates the clusterPolicySnapshot if needed.

I have:

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

How has this code been tested

Add Unit tests

Special notes for your reviewer

Will add other functionality, eg, create the clusterResourceSnapshot in the coming PR.

@zhiying-lin
Copy link
Contributor Author

Added a new error type, ErrUnexpectedBehavior

The controller will return nil when the error type is ErrUnexpectedBehavior.
We'll setup alert based on either metrics or logs for this kind of error.

@ryanzhang-oss ryanzhang-oss merged commit 3103570 into Azure:main Jun 7, 2023
@zhiying-lin zhiying-lin deleted the crp branch June 8, 2023 02:44
weng271190436 pushed a commit that referenced this pull request Jan 6, 2026
@britaniar britaniar mentioned this pull request Jan 12, 2026
1 task
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