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

fixed a bug where not-namespaced resource could not be promoted #1766

Merged
merged 1 commit into from May 12, 2022

Conversation

duanmengkk
Copy link
Member

@duanmengkk duanmengkk commented May 11, 2022

What type of PR is this?

/kind bug

What this PR does / why we need it:

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

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

`karmadactl`: Fixed `promote` command can not migrate cluster-scoped resource issue. 

@karmada-bot karmada-bot added the kind/bug Categorizes issue or PR as related to a bug. label May 11, 2022
@karmada-bot karmada-bot added do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 11, 2022
@karmada-bot karmada-bot removed the do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. label May 11, 2022
@lonelyCZ
Copy link
Member

Have you tested it?

@duanmengkk
Copy link
Member Author

Have you tested it?

test fine in goland,i will do a complete test in linux.But some errors occurs after the PR #1740 ,I'm trying to figure it out
image

@duanmengkk duanmengkk changed the title fixed a bug where not-namespaced resource could not be promoted WIP:fixed a bug where not-namespaced resource could not be promoted May 11, 2022
@karmada-bot karmada-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 11, 2022
@karmada-bot karmada-bot added do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. and removed do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. labels May 12, 2022
@karmada-bot karmada-bot removed the do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. label May 12, 2022
@duanmengkk duanmengkk changed the title WIP:fixed a bug where not-namespaced resource could not be promoted fixed a bug where not-namespaced resource could not be promoted May 12, 2022
@karmada-bot karmada-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 12, 2022
@duanmengkk
Copy link
Member Author

duanmengkk commented May 12, 2022

/cc @lonelyCZ Take a look,i have a mistake before.It works fine in my env now
图片

@karmada-bot karmada-bot added the do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. label May 12, 2022
@duanmengkk duanmengkk changed the title fixed a bug where not-namespaced resource could not be promoted WIP:fixed a bug where not-namespaced resource could not be promoted May 12, 2022
@karmada-bot karmada-bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 12, 2022
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
@karmada-bot karmada-bot removed the do-not-merge/contains-merge-commits Indicates a PR which contains merge commits. label May 12, 2022
@duanmengkk duanmengkk changed the title WIP:fixed a bug where not-namespaced resource could not be promoted fixed a bug where not-namespaced resource could not be promoted May 12, 2022
@karmada-bot karmada-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 12, 2022
@lonelyCZ
Copy link
Member

Great, test is fine. Thanks @duanmengkk

/lgtm

@karmada-bot karmada-bot added the lgtm Indicates that a PR is ready to be merged. label May 12, 2022
@RainbowMango
Copy link
Member

/approve

I added release note to the PR description by the way.

@lonelyCZ Do you think this patch should cherry-pick to release branches?

@karmada-bot
Copy link
Collaborator

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@karmada-bot karmada-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 12, 2022
@karmada-bot karmada-bot merged commit 0f2bd7c into karmada-io:master May 12, 2022
@lonelyCZ
Copy link
Member

Yes,it is necessary, including #1759

@duanmengkk duanmengkk deleted the feature_globalResource branch May 12, 2022 07:35
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/bug Categorizes issue or PR as related to a bug. 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.

Kubectl Karmada Promete can not take over some GVRs
4 participants