Skip to content

error: unable to recognize "install.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta" #15

@dev852com

Description

@dev852com

CustomResourceDefinition is outdated.

kubectl apply -f install.yaml

Output:

error: unable to recognize "install.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta"

Tried to use kubectl convert but does not work

kubectl convert -f install.yaml

Output:

error: unable to decode "install.yaml": no kind "CustomResourceDefinition" is registered for version "apiextensions.k8s.io/v1beta" in scheme "k8s.io/kubernetes/pkg/api/legacyscheme/scheme.go:30"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions