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

Only apply an update to the domain if its actually different #140

Merged
merged 5 commits into from
Feb 14, 2023

Conversation

alex-bezek
Copy link
Collaborator

What

On startup, the controller gets events for every object it watches. This includes domains. So whenever a controller pod starts it lists out all the domains with worthless updates that trigger more reconcile loops.

How

The domain object isn't large, this checks if any fields are actually different before making an update call

Breaking Changes

No

@alex-bezek alex-bezek requested a review from a team as a code owner February 10, 2023 06:57
@github-actions github-actions bot added the area/controller Issues dealing with the controller label Feb 10, 2023
@alex-bezek alex-bezek merged commit 014c115 into main Feb 14, 2023
@alex-bezek alex-bezek deleted the alex/update-domain-status-when-dirty branch February 14, 2023 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issues dealing with the controller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants