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
It is expected that, when a relation asking for a resource to be injected into user namespaces (say a Secret) is removed, that the resource should be removed from all user namespaces. At present, resource-dispatcher fails to remove these resources generated by metacontroller when the relation creating them is removed.
Failed to sync Namespace "misko-test2": can't reconcile children for Namespace /misko-test2: [can't delete Secret misko-test2/mlpipeline-minio-artifact: the server could not find the requested resource, can't delete Secret misko-test2/seldon-rclone-secret: the server could not find the requested resource]
The text was updated successfully, but these errors were encountered:
ca-scribner
changed the title
Metacontroller wont remove extra resources
Resources dispatched to namespaces are not removed when relations removed
Apr 3, 2023
It is expected that, when a relation asking for a resource to be injected into user namespaces (say a
Secret
) is removed, that the resource should be removed from all user namespaces. At present, resource-dispatcher fails to remove these resources generated by metacontroller when the relation creating them is removed.Way to reproduce:
Now you can check that secrets are created for both of the manifests-testers.
Now remove one relation.
Although the relation is removed and dispatcher is clearly not sending the old secrets, metacontroller wont remove the extra secrets. You can check.
After checking metacontroller logs
We are getting
The text was updated successfully, but these errors were encountered: