Skip to content
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

Bump kubeclient to 3.0 #284

Merged
merged 2 commits into from
Apr 20, 2018
Merged

Bump kubeclient to 3.0 #284

merged 2 commits into from
Apr 20, 2018

Conversation

dturn
Copy link
Contributor

@dturn dturn commented Apr 19, 2018

Bumping kubeclient to 3.0.

Two major changes (https://github.com/abonas/kubeclient/blob/master/CHANGELOG.md):

  • Entity classes (Kubeclient::Namespace) have been dropped everything is now a Kubeclient::Resource with a kind. This only impacted tests.
  • patch_xxx now returns a Kubeclient::Resource. Failure to update the resource will raise an error.

Minor Change:

  • Was able to remove the dependecy on "rest-client" since the min version was fixed in kubeclient

@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|

spec.required_ruby_version = '>= 2.3.0'
spec.add_dependency "activesupport", ">= 5.0"
spec.add_dependency "kubeclient", "~> 2.4"
spec.add_dependency "kubeclient", "~> 3.0"
spec.add_dependency "rest-client", ">= 1.7" # Minimum required by kubeclient. Remove when kubeclient releases v3.0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Per the comment, is this needed anymore?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dturn dturn merged commit 00ff4fc into master Apr 20, 2018
@dturn dturn deleted the bump-kubeclient branch April 20, 2018 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants