operator-sdk: v1.33.0: Quarkus: panic: interface conversion: *v1.Plugin is not plugin.Deprecated: missing method DeprecationWarning

Bug Report

What did you do?

git checkout v1.33.0
make build
operator-sdk init --plugins quarkus --domain halkyon.io --project-name expose

What did you expect to see?

Next: define a resource with:
$ operator-sdk create api

What did you see instead? Under which circumstances?

panic: interface conversion: *v1.Plugin is not plugin.Deprecated: missing method DeprecationWarning

goroutine 1 [running]:
sigs.k8s.io/kubebuilder/v3/pkg/cli.CLI.printDeprecationWarnings({{0x33beeda, 0xc}, {0xc0000e2160, 0xab}, {0x34502d7, 0x37}, 0xc0006cec60, 0xc0006cec90, {0x3, 0x0}, ...})
	/Users/stellirin/go/pkg/mod/sigs.k8s.io/kubebuilder/v3@v3.11.1/pkg/cli/cli.go:446 +0x7a
sigs.k8s.io/kubebuilder/v3/pkg/cli.New({0xc00070f670?, 0x62?, 0xc00070f708?})
	/Users/stellirin/go/pkg/mod/sigs.k8s.io/kubebuilder/v3@v3.11.1/pkg/cli/cli.go:116 +0x178
github.com/operator-framework/operator-sdk/internal/cmd/operator-sdk/cli.GetPluginsCLIAndRoot()
	operator-sdk/internal/cmd/operator-sdk/cli/cli.go:161 +0x1a30
github.com/operator-framework/operator-sdk/internal/cmd/operator-sdk/cli.Run()
	operator-sdk/internal/cmd/operator-sdk/cli/cli.go:75 +0x1b
main.main()
	operator-sdk/cmd/operator-sdk/main.go:28 +0x13

Environment

Operator type:

Kubernetes cluster type:

$ operator-sdk version

$ go version (if language is Go)

$ kubectl version

Possible Solution

Additional context

Checkout and build of v1.32.0 give me functional operator-sdk.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 17 (3 by maintainers)

Most upvoted comments

This will be fixed in the next release. We probably need to add some checks to our pipeline to make sure this sort of thing doesn’t happen again.

I haven’t looked at the details yet but the problem is most likely that no one has released the java operator plugin before releasing the 1.33 version of the cli. A fix will most likely involve such a release and a new operator-sdk cli release as well.

Is there a workaround for this issue until it is fixed?

@csviri could you please take a look at this issue as this is related to Java Operator plugin. Thanks!