Skip to content

feat: dependent resource inherits namespaces from controller config #1020

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

Merged
merged 2 commits into from
Mar 11, 2022

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Mar 10, 2022

The primary objective was to inherit the default namespace to the dependent informers if not configured explicitly (standalone).
For the we need the ControllerConfiguration not ConfigurationService ( but that is accessible from controller config). So unified also the contexts to provide the controller configuration instead of configuration service. (This part is optional)

@csviri csviri self-assigned this Mar 10, 2022
@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 58 Code Smells

36.7% 36.7% Coverage
0.0% 0.0% Duplication

@csviri csviri requested a review from metacosm March 10, 2022 15:21
Copy link
Collaborator

@metacosm metacosm left a comment

Choose a reason for hiding this comment

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

I'm OK with the change but that is a breaking change that will impact users (they will have to change their reconciler implementations).

@csviri csviri merged commit cfccc71 into next Mar 11, 2022
@csviri csviri deleted the inherit-namespace-by-default branch March 11, 2022 08:11
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