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

Ensures that we only skip reconciliation for unmanaged resources #2197

Merged
merged 3 commits into from
Oct 6, 2023

Conversation

jaronoff97
Copy link
Contributor

This has been reported a few times in slack and internally. You can read more in this slack thread. The TL;DR is that many users don't automatically upgrade the CRDs with helm when upgrading their operator. This results in a newer version of the operator working with an outdated CRD. When we introduced management state (#1888) we only checked if management state wasn't managed. This meant that any users who weren't setting this field (or weren't being defaulted) would have an unmanaged otelcol to start with. This would be resolved by updating the CRD, but I want a more permanent operator fix hence this PR.

@jaronoff97 jaronoff97 requested a review from a team October 5, 2023 19:57
@jaronoff97 jaronoff97 merged commit c9c3ea3 into open-telemetry:main Oct 6, 2023
@jaronoff97 jaronoff97 deleted the default-managed branch October 6, 2023 18:04
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
…n-telemetry#2197)

* ensures that we only skip reconciliation for unmanaged resources

* update tests
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