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
Generated Ruby client has a few issues #240
Comments
Thanks for the report! I don't think the Ruby library is maintained by anyone currently. (we should perhaps delete it, or get an active maintainer) You may be better off with one of the community maintained clients: I'll leave this open as a reminder that we should figure out what we're doing here, but I don't think there will be rapid progress in the near term. |
would be a shame to delete it, ruby is a great language for ops scripting. the API seems to work fine so far in my usage. unfortunately i don't have the chops or the time to fix the generator. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Possibly related? kubernetes-client/ruby#64 Of course, it won't do much good to know whether that's related if there's no one to merge that PR and maintain the official client anyway. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
surely there is a competent ruby dev out there who wants to help the k8s project... i am just an absolute git-r-done hack with barely any temporal resources anyways... |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
First off, I have to enable skipValidation to not validate the spec or I get a whole bunch of errors:
I am not going to paste all the errors, but most of them are like this snippet:
Next up, this is small, but when you run a "gem build," on the resultant generated code, the gemspec issues a warning due to the license type:
Now, the more severe issue i've run into so far, there appears to be a bug in URL construction in the base_url() or server_url() method in lib/kubernetes/configuration.rb. If I set up a connection and try to execute an API, I get:
So, I went into lib/kubernetes/configuration.rb, and I edited line 193 in the base_url method to be:
instead of:
I'm not sure that's a proper fix, but after doing this I can execute APIs.
LMK if you need more info.
The text was updated successfully, but these errors were encountered: