vmware-archive / operator-builder

A Kubebuilder plugin to accelerate the development of Kubernetes operators
MIT License
41 stars 6 forks source link

Remove limitation of 1 standalone workload per cluster #208

Closed lander2k2 closed 2 years ago

lander2k2 commented 2 years ago

Currently if we create two different instances of a standalone workload in a single cluster, we get the following error:

2021-11-11T14:44:52.861-0500    INFO    controllers.apps.WebStore       expected only 1 resource of kind: [WebStore]; found 2

I think the standalone workloads accidentally inherited this limitation from the workload collections

scottd018 commented 2 years ago

@lander2k2 this should be fixed here https://github.com/vmware-tanzu-labs/operator-builder/pull/196/files#diff-176de775fe3401ccf2798bd12ee8084a6223b8619252532eb76188da50c1e871L110 which has already been merged in.

Can you rebase and give it a try for me again to double-check that we are fixed?

lander2k2 commented 2 years ago

@scottd018 Indeed we are good. I must've been using the 0.4.0 release when I ran into this.