Skip to content

Conversation

tomoyat
Copy link
Owner

@tomoyat tomoyat commented Jul 17, 2025

Prerequisites

Problem

  • When the reconciler runs immediately after the operator starts, context.getSecondaryResources() may not return all expected secondary resources.

Steps to Reproduce

This test registers both primary and secondary resources before starting the operator. It then records the secondary resources retrieved during the first reconciliation.

There are two ways to retrieve the secondary resources in this test:
1. Using getSecondaryResources()
2. Using the informer directly

The number of resources registered before the operator starts can be adjusted. When this number is increased, the result from getSecondaryResources() becomes incomplete or incorrect.

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.

1 participant