metacontroller
metacontroller copied to clipboard
Can't seem to clean up resources with incorrect apiVersion
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
+1 from me, just accidentally did the same thing