fluent-plugin-kubernetes-objects 1.2.0 → 1.2.1
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/VERSION +1 -1
- data/lib/fluent/plugin/in_kubernetes_objects.rb +2 -0
- metadata +7 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 95ddcaeda4677de909cb733fb5db4d30346883031562299ed08cbdc759c0c553
|
|
4
|
+
data.tar.gz: d9398536a8a52a12c01d0d31b5e05ec1a88e00e2dfd58476cc2257605e11e16d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 61656148c2eb17f1dfd49a25b6e16cff9c77646a5d8bc1cfb096af0ca5a28b3306f45cef67c411db425654fa0f5e149fb7e3b1b54f2848ab5c2647e8b08b7fc7
|
|
7
|
+
data.tar.gz: 892f23dbdcc37c579d383ed811bdb249c6d303b8a7a1fc728c754addfab50569f0a76593aef1221f49b78e4a2e0bfcb5bf037d72d2a1f875af67472f2c860089
|
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.1)
|
|
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.3.
|
|
120
|
+
2.3.26
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.1
|
|
@@ -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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Splunk Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-11-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
|
-
- test/lib/no_webmock/http_lib_adapters/excon_adapter.rb
|
|
177
|
-
- test/lib/no_webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
|
|
178
|
-
- test/lib/no_webmock/http_lib_adapters/manticore_adapter.rb
|
|
179
175
|
- test/lib/no_webmock/http_lib_adapters/httpclient_adapter.rb
|
|
176
|
+
- test/lib/no_webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
|
|
180
177
|
- test/lib/no_webmock/http_lib_adapters/curb_adapter.rb
|
|
181
|
-
- test/lib/no_webmock/http_lib_adapters/em_http_request_adapter.rb
|
|
182
178
|
- test/lib/no_webmock/http_lib_adapters/patron_adapter.rb
|
|
179
|
+
- test/lib/no_webmock/http_lib_adapters/em_http_request_adapter.rb
|
|
180
|
+
- test/lib/no_webmock/http_lib_adapters/excon_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
|