-
Notifications
You must be signed in to change notification settings - Fork 167
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
custom resources & istio #360
Comments
Ooh, interesting corner case! Custom resources are great for stressing kubeclient :-) |
No, that doesn't work. From the looks of it, the spec in PR 355 needs some lower case
|
Fixed by #361. |
1 task
cben
added a commit
to cben/kubeclient
that referenced
this issue
Nov 23, 2018
Followup to ManageIQ#360. Using discovery info captured after loading istio's CRD: https://github.com/istio/istio/blob/1.0.3/install/kubernetes/helm/istio/templates/crds.yaml
cben
added a commit
to cben/kubeclient
that referenced
this issue
Nov 26, 2018
Followup to ManageIQ#360. Using discovery info captured after loading istio's CRD: https://github.com/istio/istio/blob/1.0.3/install/kubernetes/helm/istio/templates/crds.yaml
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
First off, many thanks for kubeclient. It works very well.
I've been able to - mostly - use kubeclient to discover and instantiate all istio objects via kubeclient but there are a couple exceptions.
The istio 1.0.3 custom resource definitions in question raise an exception due to the kind for a bunch of their definitions not having a capital letter in
kind
- rbac.istio.io and configs.istio.io.I'm able fix it like this by just using kind in lib/kubeclient/common.rb:
I'll submit a PR for this if you'd like but given that some of the generated functions might not follow your pattern, I thought I'd ask first. I also see that you have a istio fork so you may have seen this already. Please advise.
Here is how I'm instantiating the client to the using the api group/version form:
AND
The exception before the change above looks like :
After the above fix, and with some added puts' to show the method definition i get
Thanks,
Chris
The text was updated successfully, but these errors were encountered: