Skip to content

fix: set configuration service for default pool - #3535

Draft
csviri wants to merge 1 commit into
operator-framework:nextfrom
csviri:default-pool-fix
Draft

fix: set configuration service for default pool#3535
csviri wants to merge 1 commit into
operator-framework:nextfrom
csviri:default-pool-fix

Conversation

@csviri

@csviri csviri commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

This is expected for a pool to set. Event if the underlying implementation would set it, this is the correct way to handle it.

TODO explicitly cache one time the Informer Pool

This is expected for a pool to set. Event if the underlying implementation would set it, this is the correct way to handle it.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Copilot AI review requested due to automatic review settings August 1, 2026 19:40
@openshift-ci
openshift-ci Bot requested review from metacosm and xstefank August 1, 2026 19:40
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Aug 1, 2026
@csviri
csviri changed the base branch from main to next August 1, 2026 19:40
@csviri csviri changed the title default pool fix fix: set configuration service for default pool Aug 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the default ConfigurationService#informerPool() implementation to ensure the returned DefaultInformerPool is properly initialized with the ConfigurationService, aligning the default pool’s lifecycle with the framework’s expected configuration injection behavior.

Changes:

  • Initialize the default DefaultInformerPool with setConfigurationService(this) before returning it.

Comment on lines 500 to +503
default InformerPool informerPool() {
return new DefaultInformerPool();
var pool = new DefaultInformerPool();
pool.setConfigurationService(this);
return pool;
@csviri
csviri marked this pull request as draft August 1, 2026 19:51
@openshift-ci openshift-ci Bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants