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
/Users/sdustin/go/bin/controller-gen "crd:preserveUnknownFields=false,crdVersions=v1,trivialVersions=true" rbac:roleName=manager-role webhook paths="./..." output:crd:artifacts:config=config/crd/bases
github.com/vmware-tanzu-labs/namespace-operator/apis/tenancy/v1alpha2:-: CRD for TanzuNamespace.tenancy.platform.cnr.vmware.com has no storage version
Error: not all generators ran successfully
run `controller-gen crd:preserveUnknownFields=false,crdVersions=v1,trivialVersions=true rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -w` to see all available markers, or `controller-gen crd:preserveUnknownFields=false,crdVersions=v1,trivialVersions=true rbac:roleName=manager-role webhook paths=./... output:crd:artifacts:config=config/crd/bases -h`for usage
make: *** [manifests] Error 1
It appears adding +kubebuilder:storageversion will fix the issue (see kubernetes-sigs/controller-tools#390). Anything else (e.g. I support v1beta2 but i submit a v1beta1 resources) will result in a conversion webhook doing the conversion.
This doesn't appear to work when I try it, however I'm still playing around with this.
The text was updated successfully, but these errors were encountered:
Running
make manifests
results in the following:It appears adding
+kubebuilder:storageversion
will fix the issue (see kubernetes-sigs/controller-tools#390). Anything else (e.g. I support v1beta2 but i submit a v1beta1 resources) will result in a conversion webhook doing the conversion.This doesn't appear to work when I try it, however I'm still playing around with this.
The text was updated successfully, but these errors were encountered: