Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

Adding new CRDs fails with no kind is registered #29

Open
avalcepina opened this issue Jul 26, 2019 · 1 comment
Open

Adding new CRDs fails with no kind is registered #29

avalcepina opened this issue Jul 26, 2019 · 1 comment

Comments

@avalcepina
Copy link

I tried adding the istio.io/api/pkg/kube/apis/config/v1alpha2/Instance crd to the client.
Everything worked just fine until the point in which we run the client and tried to get or list instances from a namespace.
At that point I got the following error:

Failed to get Instance in kubist-demo namespace: no kind “instance” is registered for version “config.istio.io/v1alpha2" in scheme “pkg/runtime/scheme.go:101

By debugging I saw that, when querying for the resources, the client is getting a successful response, but is then failing to parse it.

@nrjpoddar
Copy link
Contributor

Hi @avalcepina, if you submit a PR we can help you debug what you might be missing and even merge it in as we are always looking for outside contributions.

Without looking at the code it's difficult for me to see what might be missing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants