-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get CRD #325
Comments
Could you share how you're defining the object for your CRD? I wonder if you're running into the same issue described here #199 (comment) |
Not sure what you want, the yaml manifest of the CRD object ? |
You need to first define a class for your custom object. Have you done this? https://docs.kr8s.org/en/latest/object.html#extending-the-objects-api |
Thank you for pointing the doc. I was using it wrong. This works
|
No worries. I've raised #328 to add that documentation link to the exception. |
Which project are you reporting a bug for?
kr8s
What happened?
Hello,
I am trying to get a CRD with
kr8s.get
, but it does not detect my CRD:I can get it with
kubectl
:And when listing CRDs with
kr8s.objects.CustomResourceDefinition.list()
I can see the CRD : in the list :<CustomResourceDefinition opensearchclusters.opensearch.opster.io>
.Did I do something wrong ?
I also tried to get an istiogateway, which is another CRD, but same issue.
Anything else?
No response
The text was updated successfully, but these errors were encountered: