Bundle validation fails with CRD not found #4374
Labels
language/go
Issue is related to a Go operator project
olm-integration
Issue relates to the OLM integration
triage/support
Indicates an issue that is a support question.
Type of question
Question
What did you do?
operator-sdk bundle validate ./deploy/bundle --verbose
What did you expect to see?
Bundle is valid.
What did you see instead? Under which circumstances?
Error that says some of the owned CRDs are not found, even though it is included in the bundle.
Environment
Operator type:
/language go
Kubernetes cluster type:
OpenShift
$ operator-sdk version
operator-sdk version: "v1.2.0", commit: "215fc50b2d4acc7d92b36828f42d7d1ae212015c", kubernetes version: "v1.18.8", go version: "go1.15.3", GOOS: "linux", GOARCH: "amd64"
$ go version
(if language is Go)go version go1.15.2 linux/amd64
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.0", GitCommit:"ffd68360997854d442e2ad2f40b099f5198b6471", GitTreeState:"clean", BuildDate:"2020-11-13T23:53:02Z", GoVersion:"go1.15.0", Compiler:"gc", Platform:"linux/amd64"}
Additional context
https://github.com/openshift/ocs-operator/tree/master/deploy/bundle is the bundle generated by sdk that I am trying to validate.
The text was updated successfully, but these errors were encountered: