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

improve: Integration test for dependent in different namespace #1924

Merged
merged 3 commits into from
May 31, 2023

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented May 30, 2023

No description provided.

@csviri csviri self-assigned this May 30, 2023
@csviri csviri marked this pull request as draft May 30, 2023 08:02
import io.javaoperatorsdk.operator.support.TestExecutionInfoProvider;

@ControllerConfiguration(
dependents = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Perhaps this should be made more explicit by making the reconciler only watch 2 namespaces: the one where the primary resources are deployed and the one where the dependents are supposed to be? It feels like we're somehow "cheating" by having the reconciler watch all namespaces… 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

that would require a change to the extension, if you insist can do that, I don't see it that important, on the other hand would be little nicer I agree.

@csviri csviri requested a review from metacosm May 31, 2023 07:28
@csviri csviri marked this pull request as ready for review May 31, 2023 07:28
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@csviri csviri merged commit 8b3394c into main May 31, 2023
@csviri csviri deleted the no-gc-different-ns branch May 31, 2023 08:31
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.

Add Integration Test for case when Dependent Resource created in a different namespace as Primary
2 participants