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

vmcluster: fix spec change check #679

Merged
merged 3 commits into from
Jun 23, 2023
Merged

Conversation

Haleygo
Copy link
Contributor

@Haleygo Haleygo commented Jun 23, 2023

#677
Previous check will fail when there are fields like imagePullSecrets: [] been specified in spec, they will be omitted by json.marshall. That will cause constant status update and reconciliation for vmcluster, and possible resource update conflicts.

@Haleygo Haleygo requested a review from f41gh7 June 23, 2023 14:07
Copy link
Collaborator

@f41gh7 f41gh7 left a comment

Choose a reason for hiding this comment

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

Thanks for quick fix!

api/v1beta1/vmcluster_types.go Outdated Show resolved Hide resolved
api/v1beta1/vmcluster_types.go Outdated Show resolved Hide resolved
@Haleygo Haleygo force-pushed the fix-vmcluster-spec-change-check branch from 3b969a1 to 8282347 Compare June 23, 2023 14:28
f41gh7
f41gh7 previously approved these changes Jun 23, 2023
Copy link
Collaborator

@f41gh7 f41gh7 left a comment

Choose a reason for hiding this comment

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

LGTM

@f41gh7
Copy link
Collaborator

f41gh7 commented Jun 23, 2023

Thanks!

@f41gh7 f41gh7 deleted the fix-vmcluster-spec-change-check branch June 23, 2023 15:31
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