You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the stable label to prevent this issue from being closed.
Describe the bug
When label is removed from an object wrapped by
ManifestWork
, it is not removed from the object in the managed cluster.To Reproduce
kubectl
to create aManifestWork
on the hub with the following yaml file. Note thetest: test
label in the deployment metadata.nginx-deployment
in cluster1 is labeled with the test labelkubectl --context kind-cluster1 get deployment nginx-deployment -o yaml
ManifestWork
and remove the test label.kubectl --context kind-hub edit manifestworks my-first-work -n cluster1
nginx-deployment
in cluster1 is still labeled with the test label.Expected behavior
In step 6 above, I expect the test label to be removed.
Environment ie: OCM version, Kubernetes version and provider:
kind v0.19.0 go1.19 linux/amd64
Additional context
Add new label and update a label value works as expected.
The text was updated successfully, but these errors were encountered: