fluent-plugin-kubernetes-objects 1.2.0 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +3 -0
- data/VERSION +1 -1
- data/lib/fluent/plugin/in_kubernetes_objects.rb +2 -0
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd3ae627826a790457fbcba8513490579551349f57013d5f18f93217ace50ee4
|
|
4
|
+
data.tar.gz: 9de581b25e0858069101310106f9a88609155eb8260563df750f1251e71293c2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcf4469ae8149e106298f76a4e37c560b44b5b6edac2dc8993ec4108f8cd68819267dd8d00512afa33d2e883228d9cf83f984f7cc0eab357fdf7f09ab82bef46
|
|
7
|
+
data.tar.gz: ae6bfbe6abefe54d22dba2caa400dd41ef1ce29525b69496334023601ce155ccf0b7eb2cd659d4261f84e0f51929e39cccfc3aabef316fa1bf379b508f02d8e5
|
data/Gemfile.lock
CHANGED
|
@@ -12,7 +12,7 @@ GIT
|
|
|
12
12
|
PATH
|
|
13
13
|
remote: .
|
|
14
14
|
specs:
|
|
15
|
-
fluent-plugin-kubernetes-objects (1.2.
|
|
15
|
+
fluent-plugin-kubernetes-objects (1.2.2)
|
|
16
16
|
fluentd (>= 1.9.1)
|
|
17
17
|
http_parser.rb (= 0.8.0)
|
|
18
18
|
kubeclient (~> 4.9.3)
|
|
@@ -33,7 +33,7 @@ GEM
|
|
|
33
33
|
ffi-compiler (1.0.1)
|
|
34
34
|
ffi (>= 1.0.0)
|
|
35
35
|
rake
|
|
36
|
-
fluentd (1.15.
|
|
36
|
+
fluentd (1.15.3)
|
|
37
37
|
bundler
|
|
38
38
|
cool.io (>= 1.4.5, < 2.0.0)
|
|
39
39
|
http_parser.rb (>= 0.5.1, < 0.9.0)
|
|
@@ -64,7 +64,7 @@ GEM
|
|
|
64
64
|
mime-types-data (~> 3.2015)
|
|
65
65
|
mime-types-data (3.2022.0105)
|
|
66
66
|
minitest (5.15.0)
|
|
67
|
-
msgpack (1.
|
|
67
|
+
msgpack (1.6.0)
|
|
68
68
|
multi_json (1.15.0)
|
|
69
69
|
netrc (0.11.0)
|
|
70
70
|
power_assert (2.0.1)
|
|
@@ -91,7 +91,7 @@ GEM
|
|
|
91
91
|
power_assert
|
|
92
92
|
tzinfo (2.0.5)
|
|
93
93
|
concurrent-ruby (~> 1.0)
|
|
94
|
-
tzinfo-data (1.2022.
|
|
94
|
+
tzinfo-data (1.2022.6)
|
|
95
95
|
tzinfo (>= 1.0.0)
|
|
96
96
|
unf (0.1.4)
|
|
97
97
|
unf_ext
|
|
@@ -117,4 +117,4 @@ DEPENDENCIES
|
|
|
117
117
|
webmock (~> 3.5)
|
|
118
118
|
|
|
119
119
|
BUNDLED WITH
|
|
120
|
-
2.
|
|
120
|
+
2.4.9
|
data/README.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# End of Support
|
|
2
|
+
|
|
3
|
+
**Important:** The fluent-plugin-kubernetes-objects will reach End of Support on January 1, 2024. After that date, this repository will no longer receive updates from Splunk and will no longer be supported by Splunk. Until then, only critical security fixes and bug fixes will be provided.
|
|
1
4
|
|
|
2
5
|
# fluent-plugin-kubernetes-objects
|
|
3
6
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.2
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require 'fluent/plugin/input'
|
|
4
4
|
require 'kubeclient'
|
|
5
|
+
require 'resolv'
|
|
5
6
|
|
|
6
7
|
module Fluent::Plugin
|
|
7
8
|
class KubernetesObjectsInput < Fluent::Plugin::Input
|
|
@@ -140,6 +141,7 @@ module Fluent::Plugin
|
|
|
140
141
|
if @kubernetes_url.nil?
|
|
141
142
|
# Use Kubernetes default service account if we're in a pod.
|
|
142
143
|
env_host = ENV['KUBERNETES_SERVICE_HOST']
|
|
144
|
+
env_host = "[#{env_host}]" if env_host =~ Resolv::IPv6::Regex
|
|
143
145
|
env_port = ENV['KUBERNETES_SERVICE_PORT']
|
|
144
146
|
if env_host && env_port
|
|
145
147
|
@kubernetes_url = "https://#{env_host}:#{env_port}/#{@api_endpoint.delete_prefix('/')}"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-kubernetes-objects
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Splunk Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-03-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -172,12 +172,12 @@ signing_key:
|
|
|
172
172
|
specification_version: 4
|
|
173
173
|
summary: Fluentd Plugin for Kubernetes Objects.
|
|
174
174
|
test_files:
|
|
175
|
-
- test/test_helper.rb
|
|
176
175
|
- test/lib/no_webmock/http_lib_adapters/excon_adapter.rb
|
|
176
|
+
- test/lib/no_webmock/http_lib_adapters/patron_adapter.rb
|
|
177
177
|
- test/lib/no_webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
|
|
178
|
-
- test/lib/no_webmock/http_lib_adapters/manticore_adapter.rb
|
|
179
178
|
- test/lib/no_webmock/http_lib_adapters/httpclient_adapter.rb
|
|
180
|
-
- test/lib/no_webmock/http_lib_adapters/curb_adapter.rb
|
|
181
179
|
- test/lib/no_webmock/http_lib_adapters/em_http_request_adapter.rb
|
|
182
|
-
- test/lib/no_webmock/http_lib_adapters/
|
|
180
|
+
- test/lib/no_webmock/http_lib_adapters/curb_adapter.rb
|
|
181
|
+
- test/lib/no_webmock/http_lib_adapters/manticore_adapter.rb
|
|
182
|
+
- test/test_helper.rb
|
|
183
183
|
- test/fluent/plugin/in_kubernetes_objects_test.rb
|