[CFP-39876]: Add namespace filtering conditions to ServiceImport controller#44040
Merged
MrFreezeex merged 1 commit intocilium:mainfrom Feb 12, 2026
Merged
Conversation
85f805a to
ae1b98c
Compare
8 tasks
ae1b98c to
79eaee9
Compare
Contributor
|
/test |
1 similar comment
Contributor
|
/test |
joamaki
approved these changes
Feb 3, 2026
MrFreezeex
requested changes
Feb 4, 2026
38cbb06 to
25e2ebd
Compare
Contributor
|
/test |
Contributor
|
Marking 'merge when ready' barring @MrFreezeex 's final re-review. |
MrFreezeex
requested changes
Feb 5, 2026
25e2ebd to
48ca5aa
Compare
Contributor
|
/test |
7394c5f to
48bad65
Compare
MrFreezeex
requested changes
Feb 6, 2026
48bad65 to
5119e86
Compare
MrFreezeex
reviewed
Feb 8, 2026
1339357 to
aedfbdd
Compare
Member
|
/test |
Contributor
|
/ci-clustermesh |
MrFreezeex
reviewed
Feb 12, 2026
Member
MrFreezeex
left a comment
There was a problem hiding this comment.
Thanks! I have more small comment inline but otherwise lgtm!
Add namespace global status checking to the ServiceImport controller: - Set Invalid condition on ServiceExport when namespace is not global - Set NamespaceNotGlobal condition on ServiceImport when namespace is not global - Signal service controller to skip/delete derived Service for non-global namespaces by setting SupportedIPFamilies annotation to empty This implements the MCS-API portion of the ClusterMesh global namespace filtering feature as described in CFP-39876. Signed-off-by: Jacques Massa <jac.massa0908@gmail.com>
aedfbdd to
f6f0e9f
Compare
MrFreezeex
approved these changes
Feb 12, 2026
Member
|
/test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add namespace global status checking to the MCS-API ServiceImport controller. This implements the MCS-API portion of the ClusterMesh global namespace filtering feature as described in CFP-39876.
Follow-up of:
Changes
Invalidcondition on ServiceExport when namespace is not globalNamespaceNotGlobalcondition on ServiceImport when namespace is not globalAnd add pkg/clustermesh/mcsapi/service_controller.go and pkg/clustermesh/mcsapi/service_controller_test.go to the list of modified files.
CFP Requirements Addressed
Per the CFP MCS Support section:
Files Changed
pkg/clustermesh/mcsapi/cell.go- Add namespace manager dependencypkg/clustermesh/mcsapi/serviceimport_controller.go- Add namespace filtering logic and conditionspkg/clustermesh/mcsapi/serviceimport_controller_test.go- Add tests for non-global namespace handlingpkg/clustermesh/mcsapi/service_controller.go– namespace filtering in derived service controllerpkg/clustermesh/mcsapi/service_controller_test.go– tests for non-global namespace handlingTest plan