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

Ignore ClusterIPs, and IPFamilyPolicy in services, and timestamp in license during reconciliation #4929

Merged

Conversation

naemono
Copy link
Contributor

@naemono naemono commented Oct 7, 2021

In testing, it was found that services are updated every reconciliation cycle, along with the license. As for the license, the timestamp is always changing, which means it will always be updated. As for the services, ClusterIP, and IPFamilies are currently ignored, as they're set server-side, but ClusterIPs, and IPFamilyPolicy were not being ignored, but are also set server side. This updates the logic to also properly use or ignore these fields in services, and completely ignore timestamp when comparing license. The tests were also updated to ensure consistency.

…e set server-side.

Ignore timestamp in license configmap, as it will always change
@naemono naemono added the >enhancement Enhancement of existing functionality label Oct 7, 2021
Copy link
Contributor

@david-kow david-kow left a comment

Choose a reason for hiding this comment

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

LGTM!

@naemono naemono merged commit 0995fd1 into elastic:master Oct 11, 2021
@thbkrkr thbkrkr added the v1.9.0 label Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement Enhancement of existing functionality v1.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants