-
Notifications
You must be signed in to change notification settings - Fork 828
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
Fix karmadactl token that can't set --kubeconfig
#2730
Conversation
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
How to reproduce it? Which PR introduced this bug? We should figure out which release also needs this patch. |
#2668 , it doesn't need patch.
|
Codecov Report
@@ Coverage Diff @@
## master #2730 +/- ##
==========================================
+ Coverage 32.73% 32.75% +0.02%
==========================================
Files 199 199
Lines 19401 19382 -19
==========================================
- Hits 6350 6349 -1
+ Misses 12697 12678 -19
- Partials 354 355 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I don't get why the previous flags not working. We do add the flags at : karmada/pkg/karmadactl/token.go Line 119 in bcd7814
|
Because we will directly use karmada/pkg/karmadactl/karmadactl.go Lines 27 to 28 in bcd7814
|
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 |
Signed-off-by: lonelyCZ chengzhe@zju.edu.cn
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fix that setting
--kubeconfig
and--karmada-context
flags is invalid.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: