metacontroller icon indicating copy to clipboard operation
metacontroller copied to clipboard

Can't seem to clean up resources with incorrect apiVersion

Open mukaibot opened this issue 5 years ago • 1 comments

I have created a CRD for a kind "Foobar". It has the apiVersion my-api.foo.net/v1alpha1. However I created a CR with kind "Foobar" and apiVersion foobar.my-api.foo.net/v1alpha1.

This seems to create a lot of errors in the metacontroller logs about not being able to sync the CompositeController: E0702 06:52:40.011792 1 metacontroller.go:133] failed to sync CompositeController "foobar-operator": discovery: can't find resource Foobar in apiVersion foobar.my-api.foo.net/v1alpha1

Is there a way I can delete these bad resources from the workqueue? They don't seem to show up with kubectl get foobar

mukaibot avatar Jul 02 '19 07:07 mukaibot

+1 from me, just accidentally did the same thing

tigris avatar Aug 21 '19 08:08 tigris