-
Notifications
You must be signed in to change notification settings - Fork 885
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
[Umbrella] Use permanent-id to replace namespace/name labels in the resource #4711
Comments
I'm interested in this and I want to take care of |
Thanks a lot~ And do we plan to issue deprecation warnings to users before removing logic? I think it is necessary, although we have mentioned the need to discard these labels in many community meetings and related issue descriptions and discussions, we still need to find a clear place to describe the text, so that this information can be passed to more users. Do you have any suggestions? |
/help |
@XiShanYongYe-Chang: Please ensure the request meets the requirements listed here. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I wanna pick up this one |
Ok, thx~ |
Is FeatureGates enough? At least it gives users a chance to be compatible., like : //**TODO GA in 1.11, delete the FeatureGate**
if !FeatureGates.xxx.enabled {
// TODO: Delete following two lines in release-1.9
delete(bindingCopy.Labels, workv1alpha2.ResourceBindingUIDLabel)
delete(bindingCopy.Labels, policyv1alpha1.PropagationPolicyUIDLabel)
} |
@chaunceyjiang , it seems all the tasks have been picked up. Any input from you and any work that need us? |
All sub-tasks have been finished, let's close it. |
What would you like to be added:
Please ref to #4683 (comment)
Why is this needed:
Continue the work of #4000 and break down the tasks to be done.
permanent-id
labels toPropagationPolicy/ClusterPropagationPolicy
,ResourceBinding/ClusterResourceBinding
, andWork
resources inkarmada-webhook
.permanent-id
for pp, cpp, rb, crb, work in the karmada-webhook @jwcesign @XiShanYongYe-Chang feat: add permanent id label to pp/cpp/rb/crb/work resources #4474permanent-id
logic in the karmada-controller-manager (we can do it in the next release) @whitewindmillsnamespace/name
labels in the code withpermanent-id
labels, including: @whitewindmills @XiShanYongYe-Changpropagationpolicy.karmada.io/namespace
,propagationpolicy.karmada.io/name
->propagationpolicy.karmada.io/permanent-id
Deprecate name/namespace labels of pp/cpp #4743clusterpropagationpolicy.karmada.io/name
->clusterpropagationpolicy.karmada.io/permanent-id
Deprecate name/namespace labels of pp/cpp #4743resourcebinding.karmada.io/key
->resourcebinding.karmada.io/permanent-id
Deprecate key labels of rb/crb #4811clusterresourcebinding.karmada.io/key
->clusterresourcebinding.karmada.io/permanent-id
Deprecate key labels of rb/crb #4811work.karmada.io/namespace
,work.karmada.io/name
->work.karmada.io/permanent-id
Deprecate name/namespace labels of work #4813 Remove work label on the member cluster resource #4765 replace work namespace/name labels with annotations #4865uid
labels on the resource: @liangyuanpeng Delete the labels of uid. #4718propagationpolicy.karmada.io/uid
clusterpropagationpolicy.karmada.io/uid
resourcebinding.karmada.io/uid
clusterresourcebinding.karmada.io/uid
work.karmada.io/uid
namespace/name
labels on resources: @whitewindmillspropagationpolicy.karmada.io/namespace
Deprecate name/namespace labels of pp/cpp #4743propagationpolicy.karmada.io/name
Deprecate name/namespace labels of pp/cpp #4743clusterpropagationpolicy.karmada.io/name
Deprecate name/namespace labels of pp/cpp #4743resourcebinding.karmada.io/key
Deprecate key labels of rb/crb #4811clusterresourcebinding.karmada.io/key
Deprecate key labels of rb/crb #4811work.karmada.io/namespace
Deprecate name/namespace labels of work #4813work.karmada.io/name
Deprecate name/namespace labels of work #4813propagationpolicy.karmada.io/namespace
,propagationpolicy.karmada.io/name
in the v1.11. @XiShanYongYe-Chang Remove pp/cpp namespace/name labels #5020karmada/pkg/webhook/propagationpolicy/mutating.go
Lines 74 to 76 in 9822d09
@XiShanYongYe-Chang Remove pp/cpp name length limit #5029
The text was updated successfully, but these errors were encountered: