-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use kubeclient 4.4.latest; refactor tests for k8s api discovery
Update to kubeclient 4.4.latest - make dependency now on versions between 4 and 5. The new api makes a discovery call to /api/v1 - I had to refactor the tests to take that into consideration. I've tested this with fluentd with ocp 4.2 logging - tests pass. I'm bumping the version to 2.3.0 from 2.2.x due to the big change in the kubeclient version. I also got rid of the dependency on activesupport.
- Loading branch information
Showing
16 changed files
with
615 additions
and
1,110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | |
|
||
Gem::Specification.new do |gem| | ||
gem.name = "fluent-plugin-kubernetes_metadata_filter" | ||
gem.version = "2.2.0" | ||
gem.version = "2.3.0" | ||
gem.authors = ["Jimmi Dyson"] | ||
gem.email = ["[email protected]"] | ||
gem.description = %q{Filter plugin to add Kubernetes metadata} | ||
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |gem| | |
|
||
gem.add_runtime_dependency 'fluentd', ['>= 0.14.0', '< 2'] | ||
gem.add_runtime_dependency "lru_redux" | ||
gem.add_runtime_dependency "kubeclient", "~> 1.1.4" | ||
gem.add_runtime_dependency "kubeclient", '< 5' | ||
|
||
gem.add_development_dependency "bundler", "~> 1.3" | ||
gem.add_development_dependency "rake" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
test/cassettes/kubernetes_docker_metadata_dotted_labels.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.