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

fix: make the failedResourcePlacements json consistent with field name #625

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

zhiying-lin
Copy link
Contributor

@zhiying-lin zhiying-lin commented Nov 22, 2023

Description of your changes

It should be safe to rename the field as the etcd stores the json.

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

Arvindthiru
Arvindthiru previously approved these changes Nov 22, 2023
Copy link
Contributor

@ryanzhang-oss ryanzhang-oss left a comment

Choose a reason for hiding this comment

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

https://kubernetes.io/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions/#field-pruning

IIRC, it seems that this is safe, but I think we need to manually test the CRD change to make sure it won't break existing CRP.

@zhiying-lin
Copy link
Contributor Author

instead of updating the json, i think it's better to update the field name. Will test and send another PR.

@zhiying-lin zhiying-lin marked this pull request as draft November 23, 2023 07:43
@zhiying-lin zhiying-lin merged commit 12456a4 into Azure:main Nov 24, 2023
12 checks passed
@zhiying-lin zhiying-lin deleted the api-fix branch November 24, 2023 02:59
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.

3 participants