-
Notifications
You must be signed in to change notification settings - Fork 463
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
I'm developing a project which depends on the newest kubernetes v1.31, so I imported the k8s.io/api v0.31.0-rc.0,
however, when run make manifests, it failed, error like:
/<project>/bin/controller-gen \
rbac:roleName=manager-role output:rbac:artifacts:config=config/rbac \
crd:generateEmbeddedObjectMeta=true output:crd:artifacts:config=config/crd/bases \
webhook output:webhook:artifacts:config=config/webhook \
paths="./..."
/Users/kerthcet/Workspaces/pkg/mod/k8s.io/[email protected]/core/v1/doc.go:21:1: missing argument "" (at <input>)
/Users/kerthcet/Workspaces/pkg/mod/k8s.io/[email protected]/core/v1/doc.go:21:1: missing argument "" (at <input>)
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".EnvVar
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".EnvVar
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".ResourceList
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".PodTemplateSpec
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".PodTemplateSpec
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".PodTemplateSpec
k8s.io/api/core/v1:-: unknown type "k8s.io/api/core/v1".PodTemplateSpec
inftyai.com/llmaz/api/core/v1alpha1:-: unable to locate schema for type "k8s.io/api/core/v1".ResourceList
sigs.k8s.io/lws/api/leaderworkerset/v1:-: unable to locate schema for type "k8s.io/api/core/v1".PodTemplateSpec
sigs.k8s.io/lws/api/leaderworkerset/v1:-: unable to locate schema for type "k8s.io/api/core/v1".PodTemplateSpec
inftyai.com/llmaz/api/inference/v1alpha1:-: unable to locate schema for type "k8s.io/api/core/v1".EnvVar
inftyai.com/llmaz/api/inference/v1alpha1:-: unable to locate schema for type "k8s.io/api/core/v1".ResourceList
inftyai.com/llmaz/api/inference/v1alpha1:-: unable to locate schema for type "k8s.io/api/core/v1".ResourceList
Error: not all generators ran successfully
I checked the crd manifests, it changes as:
- additionalProperties:
- anyOf:
- - type: integer
- - type: string
- pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
- x-kubernetes-int-or-string: true
+ $ref: '#/definitions/k8s.io~1api~1core~1v1~0ResourceList'
I tried with both v0.14.0 and v0.15.0, all the same, advices? Thanks in advance.
/kind bug
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.