After upgrading to Operator SDK 0.11.0, the Kogito CLI can't create custom resources anymore.
While trying to deploy an app, the following error occurs:
Error while creating a new KogitoApp in the context: v1.CreateOptions is not suitable for converting to "app.kiegroup.org/v1alpha1" in scheme "pkg/runtime/scheme.go:101"
The Kogito CLI should rely on client-go instead of customizing the same client used by the operator:
https://github.com/kubernetes/client-go/blob/master/examples/out-of-cluster-client-configuration/main.go