You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to validate v1.PodSpec in my crd and luckily I've found this handy tool.
I've tried the example by getting code-generator, checking out to release 1.8 and then go install.
Afterwards, I tried ~/go/bin/openapi-gen -i $(REPO)/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 -p ./v1 --go-header-file="../../.header" and get the following output:
Hi, I'm trying to validate
v1.PodSpec
in my crd and luckily I've found this handy tool.I've tried the example by getting code-generator, checking out to release 1.8 and then go install.
Afterwards, I tried
~/go/bin/openapi-gen -i $(REPO)/v1,k8s.io/apimachinery/pkg/apis/meta/v1,k8s.io/api/core/v1 -p ./v1 --go-header-file="../../.header"
and get the following output:I guess it's related to kube-openapi version. Would you specify the environment, such as by adding go.mod?
The text was updated successfully, but these errors were encountered: