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

reconciler/managed: only debug log transient conflict errors #498

Merged
merged 1 commit into from
Aug 6, 2023

Conversation

sttts
Copy link
Contributor

@sttts sttts commented Aug 4, 2023

Description of your changes

Conflict errors are transient in Kubernetes and completely normal. The right reaction is to requeue, but not record the object as error'ing or creating events.

I have:

  • Read and followed Crossplane's contribution process.
  • Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

@sttts sttts requested review from a team as code owners August 4, 2023 14:33
@sttts sttts requested review from phisco and ytsarev August 4, 2023 14:33
Copy link
Contributor

@phisco phisco left a comment

Choose a reason for hiding this comment

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

Thanks @sttts, LGTM!

Copy link
Member

@jbw976 jbw976 left a comment

Choose a reason for hiding this comment

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

@sttts does this directly address crossplane/crossplane#2114 - "Suppress "object has been modified" warning events"? 🤔

Copy link
Member

@ytsarev ytsarev left a comment

Choose a reason for hiding this comment

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

Nice! It will help to avoid confusion and heavily reduce the noise during debugging process 👍

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.

4 participants