fluent-plugin-append-kubernetes-annotations-to-tag 0.3.0 → 0.4.0.pre.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: 6eedacfedf15612a6883ff78c1573b6b8fdb37ec412c9938aabdf067c0ca7152
4
- data.tar.gz: 98002b32b8f3efff1cee0b25f9c649c8bc35184af4c0c8873d94777b0ec9752e
3
+ metadata.gz: c23afed59fbc777c2dfb3bb0da787c435e640cb0b2e29016ce6c4265da7d447f
4
+ data.tar.gz: cd637334ce0510c5df6de3dee1b2ca886aa96df844e91d55d83b5b6e5e8911a9
5
5
  SHA512:
6
- metadata.gz: fc64fd5f17641d2903b76323968de7640f3fc78079ec90a711ae4db77f7f297e12cf37fa413a45b47ab3c87f19bb3b7c9c3d865509ef15172be9cb0a44ff8291
7
- data.tar.gz: 0ce57326afc80bbe7b2c63c43c257dd557d0a245c336a80f81bd236540052c9fb73d057efbc841bc12b18af6c99cb49e9727e3aed22acb039310c91952458b4c
6
+ metadata.gz: 68476127b2a7dce0208913604b7ae74a2fc3b2f5190ef9d6cd5b0298f6780d263d36a78caccc42940b0414a90ee9b9f4e521b8f9065c1cfbb5b94acae4ab6787
7
+ data.tar.gz: 6e0d3e408dad1527d77d816b2845c6c57c81aa25f6c0169c4ba378f9022f0bd305c5bf9e8d399e1efe7c6503830233c73393a700d893fc279b4c88f029a3e783
data/README.md CHANGED
@@ -6,13 +6,6 @@
6
6
 
7
7
  This plugin is intended for use with the [kuberenetes_metadata_filter](https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter) plugin. You will need to filter with `kubernetes_metadata_filter` so that your log records have the `kubernetes` attribute loaded with the required data.
8
8
 
9
- ## TODO
10
-
11
- * [ ] Open source this gem
12
- * [ ] Stop relying on a Redbubble-owned Docker image for the build
13
- * [ ] Publish to Rubygems.org
14
- * [ ] Make repo public
15
-
16
9
  ## Usage
17
10
 
18
11
  In your Gemfile:
@@ -26,14 +19,14 @@ In your Fluent config:
26
19
  ```
27
20
  <filter **>
28
21
  @type kubernetes_metadata_filter # See 'Prerequisites' above
29
-
22
+
30
23
  ...
31
-
24
+
32
25
  </filter>
33
26
 
34
27
  <filter **>
35
28
  @type append_kubernetes_annotations_to_tag
36
-
29
+
37
30
  annotations ['log_destination']
38
31
  </filter>
39
32
  ```
@@ -43,14 +36,35 @@ In your Fluent config:
43
36
 
44
37
  If you would like to contribute a fix or feature, here's what you should do:
45
38
 
46
- 1. Raise an issue so we can discuss your change, and be sure you're not wasting your time
47
- 1. Fork this repo (optional if you are a Redbubble engineer)
48
- 2. Make your changes
49
- 3. Submit a pull request
39
+ 1. Raise an issue so we can discuss your change
40
+ 1. Fork this repo
41
+ 1. Make your changes
42
+ 1. Submit a pull request
50
43
 
51
44
  ## Maintainers
52
45
 
53
46
  delivery-engineers@redbubble.com
54
47
 
55
48
 
56
- Copyright (c) Redbubble 2017. All rights reserved.
49
+ fluent-plugin-append_kubernetes_annotations_to_tag
50
+
51
+ Copyright (C) Redbubble
52
+
53
+ Permission is hereby granted, free of charge, to any person obtaining
54
+ a copy of this software and associated documentation files (the
55
+ "Software"), to deal in the Software without restriction, including
56
+ without limitation the rights to use, copy, modify, merge, publish,
57
+ distribute, sublicense, and/or sell copies of the Software, and to
58
+ permit persons to whom the Software is furnished to do so, subject to
59
+ the following conditions:
60
+
61
+ The above copyright notice and this permission notice shall be included
62
+ in all copies or substantial portions of the Software.
63
+
64
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
65
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
66
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
67
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
68
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
69
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
70
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.description = %q{Plugin to append Kubernetes annotations to Fluentd tags}
11
11
  gem.summary = %q{Filter plugin to append certain Kubernetes annotations to the Fluentd tag}
12
12
  gem.homepage = "https://github.com/redbubble/fluent-plugin-append_kubernetes_annotations_to_tag"
13
- gem.license = "LGPL-2.0"
13
+ gem.license = "MIT"
14
14
 
15
15
  gem.files = Dir['lib/**/*'] + %w(Gemfile README.md fluent-plugin-append-kubernetes-annotations-to-tag.gemspec)
16
16
  gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.required_ruby_version = '>= 2.5.0'
21
21
 
22
- gem.add_runtime_dependency "fluentd", '~> 1.3.3', '>= 1.3.3'
22
+ gem.add_runtime_dependency "fluentd", '~> 1.14.1'
23
23
 
24
24
  gem.add_development_dependency "bundler", "~> 1.3"
25
25
  gem.add_development_dependency "rspec", "~> 3.0"
metadata CHANGED
@@ -1,35 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-append-kubernetes-annotations-to-tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0.pre.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Redbubble Delivery Engineering Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-23 00:00:00.000000000 Z
11
+ date: 2021-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: 1.3.3
20
17
  - - "~>"
21
18
  - !ruby/object:Gem::Version
22
- version: 1.3.3
19
+ version: 1.14.1
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: 1.3.3
30
24
  - - "~>"
31
25
  - !ruby/object:Gem::Version
32
- version: 1.3.3
26
+ version: 1.14.1
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: bundler
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -72,7 +66,7 @@ files:
72
66
  - lib/kubernetes_annotations_tag_appender.rb
73
67
  homepage: https://github.com/redbubble/fluent-plugin-append_kubernetes_annotations_to_tag
74
68
  licenses:
75
- - LGPL-2.0
69
+ - MIT
76
70
  metadata: {}
77
71
  post_install_message:
78
72
  rdoc_options: []
@@ -85,11 +79,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
85
79
  version: 2.5.0
86
80
  required_rubygems_version: !ruby/object:Gem::Requirement
87
81
  requirements:
88
- - - ">="
82
+ - - ">"
89
83
  - !ruby/object:Gem::Version
90
- version: '0'
84
+ version: 1.3.1
91
85
  requirements: []
92
- rubygems_version: 3.0.1
86
+ rubygems_version: 3.0.3
93
87
  signing_key:
94
88
  specification_version: 4
95
89
  summary: Filter plugin to append certain Kubernetes annotations to the Fluentd tag