-
Notifications
You must be signed in to change notification settings - Fork 919
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
Enhance the capabilities of the karmadactl get command #5254
Conversation
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #5254 +/- ##
==========================================
- Coverage 29.41% 29.35% -0.06%
==========================================
Files 632 632
Lines 43835 43901 +66
==========================================
- Hits 12892 12889 -3
- Misses 30003 30071 +68
- Partials 940 941 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
2c2fae2
to
fedd361
Compare
/retest |
The probability of this e2e tests failing has been quite high recently. /retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/assign
tracked by #5382 /retest |
2f7dfb5
to
054c22b
Compare
pkg/karmadactl/get/get.go
Outdated
flags.StringVarP(options.DefaultConfigFlags.Namespace, "namespace", "n", *options.DefaultConfigFlags.Namespace, "If present, the namespace scope for this CLI request") | ||
flags.StringVarP(&o.LabelSelector, "labels", "l", "", "-l=label or -l label") | ||
flags.StringSliceVarP(&o.Clusters, "clusters", "C", []string{}, "-C=member1,member2") | ||
flags.StringSliceVarP(&o.Clusters, "clusters", "C", []string{}, "Used to specify target member clusters and only takes effect when the command's operation scope includes member clusters, for example: --operation-scope=all -C=member1,member2") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about this one?
Signed-off-by: hulizhe <[email protected]>
Signed-off-by: hulizhe <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED 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 |
/retest |
What type of PR is this?
/kind feature
What this PR does / why we need it:
before:
$ karmadactl get secret No resources found in namespace.
after:
$ karmadactl get secret No resources found in default namespace.
Given that the Karmada control plane has a deployment named
nginx
, which is propagated to member1 and member2.Which issue(s) this PR fixes:
Parts of #5249
Special notes for your reviewer:
Does this PR introduce a user-facing change?: