What happened:
I created a resource template to propagate to member clusters, but cannot delete any label which already exists via Karmada.
ConfigMap of Karmada control-plane
ConfigMap of Member clusters
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Create any resource to propagate to member clusters.
Add any label to your resource via Karmada.
Delete the label via Karmada.
Anything else we need to know?:
I found the propagated resource is missing the annotation resourcetemplate.karmada.io/managed-labels, and the annotation was mistakenly added to the work object.
Environment:
Karmada version:
kubectl-karmada or karmadactl version (the result of kubectl-karmada version or karmadactl version):
What happened: I created a resource template to propagate to member clusters, but cannot delete any label which already exists via Karmada.
ConfigMap of Karmada control-plane
ConfigMap of Member clusters
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?: I found the propagated resource is missing the annotation
resourcetemplate.karmada.io/managed-labels
, and the annotation was mistakenly added to the work object.Environment:
kubectl-karmada version
orkarmadactl version
):