tor-controller icon indicating copy to clipboard operation
tor-controller copied to clipboard

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

Open dev852com opened this issue 4 years ago • 2 comments

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"

dev852com avatar Nov 15 '21 04:11 dev852com

The project uses 4 year old api things, aka legacy schema. It's not maintained.

samip5 avatar Jan 27 '22 17:01 samip5

@samip5 @dev852com I've reimplemented it. Feel free to try it out and report any bugs or PRs

bugfest avatar Jan 27 '22 17:01 bugfest