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

controller-manager: introduce --skipped-propagating-namespaces flag #533

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

pigletfly
Copy link
Contributor

@pigletfly pigletfly commented Jul 16, 2021

Signed-off-by: pigletfly wangbing.adam@gmail.com

What type of PR is this?
/kind feature

What this PR does / why we need it:

Which issue(s) this PR fixes:
Fixes #342

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

karmada-controller-manager: introduced --skipped-propagating-namespaces flag to skip resources from propagation.

@karmada-bot karmada-bot added kind/feature Categorizes issue or PR as related to a new feature. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 16, 2021
@RainbowMango
Copy link
Member

/assign

@RainbowMango
Copy link
Member

@pigletfly I post my comments on the referencing issue.

@pigletfly pigletfly changed the title Add watchedNamespaces flag Add skipped-propagating-namespaces flag Jul 21, 2021
@pigletfly
Copy link
Contributor Author

@RainbowMango PTAL

@RainbowMango RainbowMango changed the title Add skipped-propagating-namespaces flag controller-manager: introduce --skipped-propagating-namespaces flag Jul 22, 2021
Copy link
Member

@RainbowMango RainbowMango left a comment

Choose a reason for hiding this comment

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

Some nits, otherwise LGTM.

cmd/controller-manager/app/options/options.go Outdated Show resolved Hide resolved
pkg/controllers/namespace/namespace_sync_controller.go Outdated Show resolved Hide resolved
pkg/util/detector/detector.go Outdated Show resolved Hide resolved
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
@RainbowMango RainbowMango added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 22, 2021
@RainbowMango
Copy link
Member

/lgtm
/approve

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 22, 2021
@karmada-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: RainbowMango

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot merged commit e7887f4 into karmada-io:master Jul 22, 2021
@pigletfly pigletfly deleted the watchedNamespace branch August 2, 2021 06:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make namespace sync configurable
3 participants