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

Refactor use of Informers in UO and SPS controller #10885

Merged
merged 2 commits into from
Nov 29, 2024

Conversation

scholzj
Copy link
Member

@scholzj scholzj commented Nov 27, 2024

Type of change

  • Refactoring

Description

This PR refactors how we use Informers in our current code base (User Operator and StrimziPodSetController). It creates a new wrapper/encapsulation of the informer and lister to make it easier to share them through the code and query the cache. This should simplify the existing code and make it easier to introduce informers in other parts of the code base.

Checklist

  • Write tests
  • Make sure all tests pass
  • Try your changes from Pod inside your Kubernetes and OpenShift cluster, not just locally

@scholzj scholzj added this to the 0.45.0 milestone Nov 27, 2024
@scholzj scholzj requested a review from ppatierno November 27, 2024 20:38
@scholzj
Copy link
Member Author

scholzj commented Nov 27, 2024

/azp run regression

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Member

@ppatierno ppatierno left a comment

Choose a reason for hiding this comment

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

LGTM. I left just a nit.

@scholzj scholzj merged commit 36fc647 into strimzi:main Nov 29, 2024
13 checks passed
@scholzj scholzj deleted the refactor-using-of-informers branch November 29, 2024 00:05
OwenCorrigan76 pushed a commit to OwenCorrigan76/strimzi-kafka-operator that referenced this pull request Dec 6, 2024
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