fluent-plugin-kubernetes-objects 1.1.12 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ed6573de6d2faa08a127f6254940f109642d86a120f77e01049208718e3ed47
4
- data.tar.gz: 4c2b866680f316d56082dee6b217baee5cb52c7eb1f8ee67ceb42be2c6ff8c7c
3
+ metadata.gz: 95ddcaeda4677de909cb733fb5db4d30346883031562299ed08cbdc759c0c553
4
+ data.tar.gz: d9398536a8a52a12c01d0d31b5e05ec1a88e00e2dfd58476cc2257605e11e16d
5
5
  SHA512:
6
- metadata.gz: 8198ca5056cdad411ce1e7163e06990f03cf7184f84a5932e57896f02bd05bf2d6509bc5220d97c946bb6003e4f992034929f1b53a56925d84dc72a24d99a266
7
- data.tar.gz: e8e1b0bad7566e7d075c9ae3035a7337d6c321b5c02616ef809ca828829185c0f939d569cbd48d575aa1ede558a14703c7686edf47210f3126d92d49d1926b89
6
+ metadata.gz: 61656148c2eb17f1dfd49a25b6e16cff9c77646a5d8bc1cfb096af0ca5a28b3306f45cef67c411db425654fa0f5e149fb7e3b1b54f2848ab5c2647e8b08b7fc7
7
+ data.tar.gz: 892f23dbdcc37c579d383ed811bdb249c6d303b8a7a1fc728c754addfab50569f0a76593aef1221f49b78e4a2e0bfcb5bf037d72d2a1f875af67472f2c860089
data/Gemfile CHANGED
@@ -8,3 +8,4 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
8
8
 
9
9
  # Specify your gem's dependencies in fluent-plugin-kubernetes_objects_input.gemspec
10
10
  gemspec
11
+ gem 'kubeclient', git: 'https://github.com/splunk/kubeclient.git', ref: '955ec5b'
data/Gemfile.lock CHANGED
@@ -1,7 +1,18 @@
1
+ GIT
2
+ remote: https://github.com/splunk/kubeclient.git
3
+ revision: 955ec5b62f64b6065b25a7c0c76467e8b6badf17
4
+ ref: 955ec5b
5
+ specs:
6
+ kubeclient (4.9.3)
7
+ http (>= 3.0, < 5.0)
8
+ jsonpath (~> 1.0)
9
+ recursive-open-struct (~> 1.1, >= 1.1.1)
10
+ rest-client (~> 2.0)
11
+
1
12
  PATH
2
13
  remote: .
3
14
  specs:
4
- fluent-plugin-kubernetes-objects (1.1.12)
15
+ fluent-plugin-kubernetes-objects (1.2.1)
5
16
  fluentd (>= 1.9.1)
6
17
  http_parser.rb (= 0.8.0)
7
18
  kubeclient (~> 4.9.3)
@@ -22,12 +33,12 @@ GEM
22
33
  ffi-compiler (1.0.1)
23
34
  ffi (>= 1.0.0)
24
35
  rake
25
- fluentd (1.14.6)
36
+ fluentd (1.15.3)
26
37
  bundler
27
38
  cool.io (>= 1.4.5, < 2.0.0)
28
39
  http_parser.rb (>= 0.5.1, < 0.9.0)
29
40
  msgpack (>= 1.3.1, < 2.0.0)
30
- serverengine (>= 2.2.5, < 3.0.0)
41
+ serverengine (>= 2.3.0, < 3.0.0)
31
42
  sigdump (~> 0.2.2)
32
43
  strptime (>= 0.2.4, < 1.0.0)
33
44
  tzinfo (>= 1.0, < 3.0)
@@ -49,16 +60,11 @@ GEM
49
60
  http_parser.rb (0.8.0)
50
61
  jsonpath (1.1.2)
51
62
  multi_json
52
- kubeclient (4.9.3)
53
- http (>= 3.0, < 5.0)
54
- jsonpath (~> 1.0)
55
- recursive-open-struct (~> 1.1, >= 1.1.1)
56
- rest-client (~> 2.0)
57
63
  mime-types (3.4.1)
58
64
  mime-types-data (~> 3.2015)
59
65
  mime-types-data (3.2022.0105)
60
66
  minitest (5.15.0)
61
- msgpack (1.5.1)
67
+ msgpack (1.6.0)
62
68
  multi_json (1.15.0)
63
69
  netrc (0.11.0)
64
70
  power_assert (2.0.1)
@@ -71,7 +77,7 @@ GEM
71
77
  mime-types (>= 1.16, < 4.0)
72
78
  netrc (~> 0.8)
73
79
  rexml (3.2.5)
74
- serverengine (2.2.5)
80
+ serverengine (2.3.0)
75
81
  sigdump (~> 0.2.2)
76
82
  sigdump (0.2.4)
77
83
  simplecov (0.21.2)
@@ -83,9 +89,9 @@ GEM
83
89
  strptime (0.2.5)
84
90
  test-unit (3.5.3)
85
91
  power_assert
86
- tzinfo (2.0.4)
92
+ tzinfo (2.0.5)
87
93
  concurrent-ruby (~> 1.0)
88
- tzinfo-data (1.2022.1)
94
+ tzinfo-data (1.2022.6)
89
95
  tzinfo (>= 1.0.0)
90
96
  unf (0.1.4)
91
97
  unf_ext
@@ -95,7 +101,7 @@ GEM
95
101
  crack (>= 0.3.2)
96
102
  hashdiff (>= 0.4.0, < 2.0.0)
97
103
  webrick (1.7.0)
98
- yajl-ruby (1.4.2)
104
+ yajl-ruby (1.4.3)
99
105
 
100
106
  PLATFORMS
101
107
  ruby
@@ -103,6 +109,7 @@ PLATFORMS
103
109
  DEPENDENCIES
104
110
  bundler (~> 2.0)
105
111
  fluent-plugin-kubernetes-objects!
112
+ kubeclient!
106
113
  minitest (~> 5.11)
107
114
  rake (>= 12.0)
108
115
  simplecov
@@ -110,4 +117,4 @@ DEPENDENCIES
110
117
  webmock (~> 3.5)
111
118
 
112
119
  BUNDLED WITH
113
- 2.3.12
120
+ 2.3.26
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.12
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.1.12
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-04-29 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/lib/no_webmock/http_lib_adapters/manticore_adapter.rb
176
175
  - test/lib/no_webmock/http_lib_adapters/httpclient_adapter.rb
177
- - test/lib/no_webmock/http_lib_adapters/patron_adapter.rb
178
- - test/lib/no_webmock/http_lib_adapters/excon_adapter.rb
179
- - test/lib/no_webmock/http_lib_adapters/em_http_request_adapter.rb
180
176
  - test/lib/no_webmock/http_lib_adapters/typhoeus_hydra_adapter.rb
181
177
  - test/lib/no_webmock/http_lib_adapters/curb_adapter.rb
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
182
  - test/test_helper.rb
183
183
  - test/fluent/plugin/in_kubernetes_objects_test.rb