fluent-plugin-kubernetes-objects 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b2a488a7c570f3b00445f3e0b9b3e9889225f43dac72427af5c7ef6a1e66407
4
- data.tar.gz: e0a7f1cfb2a129fbf225fd0fed8a41cd05504f0858664699dbea466d73c0f254
3
+ metadata.gz: 95ddcaeda4677de909cb733fb5db4d30346883031562299ed08cbdc759c0c553
4
+ data.tar.gz: d9398536a8a52a12c01d0d31b5e05ec1a88e00e2dfd58476cc2257605e11e16d
5
5
  SHA512:
6
- metadata.gz: 8c8ce749b0f430d7d01ea3cb45ff115660e344b40978fc8587ba1b5677eed1be09cf88695b3da25fc6380ce40cc3f4611db4351f2dd86312eb9f6643d3b9c156
7
- data.tar.gz: fc0657a808b8481ecb1d5f41b3f8c747e27631db0751e561931a467c893f66060946f603d4e9199dd0540d237d9883ca71706abdc77dd1d2efb3969237a8692d
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.0)
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.1)
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.5.4)
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.2)
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.20
120
+ 2.3.26
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
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.0
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-08-16 00:00:00.000000000 Z
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