fluent-plugin-append-kubernetes-annotations-to-tag 0.1.0.pre.12 → 0.4.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +29 -15
- data/fluent-plugin-append-kubernetes-annotations-to-tag.gemspec +4 -5
- metadata +7 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c23afed59fbc777c2dfb3bb0da787c435e640cb0b2e29016ce6c4265da7d447f
|
4
|
+
data.tar.gz: cd637334ce0510c5df6de3dee1b2ca886aa96df844e91d55d83b5b6e5e8911a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
47
|
-
1. Fork this repo
|
48
|
-
|
49
|
-
|
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
|
-
|
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.
|
@@ -4,23 +4,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "fluent-plugin-append-kubernetes-annotations-to-tag"
|
7
|
-
gem.version = "
|
7
|
+
gem.version = ENV["VERSION"]
|
8
8
|
gem.authors = ["Redbubble Delivery Engineering Team"]
|
9
9
|
gem.email = ["delivery-engineers@redbubble.com"]
|
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 = "
|
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) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
-
gem.has_rdoc = false
|
20
19
|
|
21
|
-
gem.required_ruby_version = '>= 2.
|
20
|
+
gem.required_ruby_version = '>= 2.5.0'
|
22
21
|
|
23
|
-
gem.add_runtime_dependency "fluentd", '~>
|
22
|
+
gem.add_runtime_dependency "fluentd", '~> 1.14.1'
|
24
23
|
|
25
24
|
gem.add_development_dependency "bundler", "~> 1.3"
|
26
25
|
gem.add_development_dependency "rspec", "~> 3.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.
|
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:
|
11
|
+
date: 2021-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 0.12.0
|
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
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.12.0
|
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
|
-
-
|
69
|
+
- MIT
|
76
70
|
metadata: {}
|
77
71
|
post_install_message:
|
78
72
|
rdoc_options: []
|
@@ -82,15 +76,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
82
76
|
requirements:
|
83
77
|
- - ">="
|
84
78
|
- !ruby/object:Gem::Version
|
85
|
-
version: 2.
|
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
84
|
version: 1.3.1
|
91
85
|
requirements: []
|
92
|
-
|
93
|
-
rubygems_version: 2.5.1
|
86
|
+
rubygems_version: 3.0.3
|
94
87
|
signing_key:
|
95
88
|
specification_version: 4
|
96
89
|
summary: Filter plugin to append certain Kubernetes annotations to the Fluentd tag
|