Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 23c9875

Browse files
authored
update deps (#59)
* update deps
1 parent f0cfb5f commit 23c9875

File tree

8 files changed

+123
-108
lines changed

8 files changed

+123
-108
lines changed

Gemfile.lock

Lines changed: 39 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,94 @@
11
PATH
22
remote: .
33
specs:
4-
fluent-plugin-kubernetes-objects (1.1.4)
5-
fluentd (~> 1.9.1)
4+
fluent-plugin-kubernetes-objects (1.1.5)
5+
fluentd (>= 1.9.1)
66
http_parser.rb (= 0.5.3)
77
kubeclient (~> 4.6.0)
88

99
GEM
1010
remote: https://rubygems.org/
1111
specs:
12-
addressable (2.6.0)
13-
public_suffix (>= 2.0.2, < 4.0)
14-
concurrent-ruby (1.1.6)
15-
cool.io (1.6.0)
16-
crack (0.4.3)
17-
safe_yaml (~> 1.0.0)
18-
docile (1.3.1)
12+
addressable (2.7.0)
13+
public_suffix (>= 2.0.2, < 5.0)
14+
concurrent-ruby (1.1.8)
15+
cool.io (1.7.1)
16+
crack (0.4.5)
17+
rexml
18+
docile (1.3.5)
1919
domain_name (0.5.20190701)
2020
unf (>= 0.0.5, < 1.0.0)
21-
ffi (1.12.2)
21+
ffi (1.14.2)
2222
ffi-compiler (1.0.1)
2323
ffi (>= 1.0.0)
2424
rake
25-
fluentd (1.9.2)
25+
fluentd (1.12.1)
26+
bundler
2627
cool.io (>= 1.4.5, < 2.0.0)
2728
http_parser.rb (>= 0.5.1, < 0.7.0)
2829
msgpack (>= 1.3.1, < 2.0.0)
29-
serverengine (>= 2.0.4, < 3.0.0)
30+
serverengine (>= 2.2.2, < 3.0.0)
3031
sigdump (~> 0.2.2)
3132
strptime (>= 0.2.2, < 1.0.0)
3233
tzinfo (>= 1.0, < 3.0)
3334
tzinfo-data (~> 1.0)
3435
yajl-ruby (~> 1.0)
35-
hashdiff (0.3.8)
36-
http (4.3.0)
36+
hashdiff (1.0.1)
37+
http (4.4.1)
3738
addressable (~> 2.3)
3839
http-cookie (~> 1.0)
3940
http-form_data (~> 2.2)
4041
http-parser (~> 1.2.0)
4142
http-accept (1.7.0)
4243
http-cookie (1.0.3)
4344
domain_name (~> 0.5)
44-
http-form_data (2.2.0)
45-
http-parser (1.2.1)
45+
http-form_data (2.3.0)
46+
http-parser (1.2.3)
4647
ffi-compiler (>= 1.0, < 2.0)
4748
http_parser.rb (0.5.3)
48-
json (2.3.1)
4949
kubeclient (4.6.0)
5050
http (>= 3.0, < 5.0)
5151
recursive-open-struct (~> 1.0, >= 1.0.4)
5252
rest-client (~> 2.0)
5353
mime-types (3.3.1)
5454
mime-types-data (~> 3.2015)
55-
mime-types-data (3.2019.1009)
56-
minitest (5.11.3)
57-
msgpack (1.3.3)
55+
mime-types-data (3.2021.0225)
56+
minitest (5.14.4)
57+
msgpack (1.4.2)
5858
netrc (0.11.0)
59-
power_assert (1.1.3)
60-
public_suffix (3.0.3)
61-
rake (13.0.1)
62-
recursive-open-struct (1.1.0)
59+
power_assert (2.0.0)
60+
public_suffix (4.0.6)
61+
rake (13.0.3)
62+
recursive-open-struct (1.1.3)
6363
rest-client (2.1.0)
6464
http-accept (>= 1.7.0, < 2.0)
6565
http-cookie (>= 1.0.2, < 2.0)
6666
mime-types (>= 1.16, < 4.0)
6767
netrc (~> 0.8)
68-
safe_yaml (1.0.4)
69-
serverengine (2.2.1)
68+
rexml (3.2.4)
69+
serverengine (2.2.3)
7070
sigdump (~> 0.2.2)
7171
sigdump (0.2.4)
72-
simplecov (0.16.1)
72+
simplecov (0.21.2)
7373
docile (~> 1.1)
74-
json (>= 1.8, < 3)
75-
simplecov-html (~> 0.10.0)
76-
simplecov-html (0.10.2)
77-
strptime (0.2.3)
78-
test-unit (3.3.0)
74+
simplecov-html (~> 0.11)
75+
simplecov_json_formatter (~> 0.1)
76+
simplecov-html (0.12.3)
77+
simplecov_json_formatter (0.1.2)
78+
strptime (0.2.5)
79+
test-unit (3.4.0)
7980
power_assert
80-
tzinfo (2.0.1)
81+
tzinfo (2.0.4)
8182
concurrent-ruby (~> 1.0)
82-
tzinfo-data (1.2019.3)
83+
tzinfo-data (1.2021.1)
8384
tzinfo (>= 1.0.0)
8485
unf (0.1.4)
8586
unf_ext
86-
unf_ext (0.0.7.6)
87-
webmock (3.5.1)
87+
unf_ext (0.0.7.7)
88+
webmock (3.12.0)
8889
addressable (>= 2.3.6)
8990
crack (>= 0.3.2)
90-
hashdiff
91+
hashdiff (>= 0.4.0, < 2.0.0)
9192
yajl-ruby (1.4.1)
9293

9394
PLATFORMS
@@ -103,4 +104,4 @@ DEPENDENCIES
103104
webmock (~> 3.5)
104105

105106
BUNDLED WITH
106-
2.1.4
107+
2.2.13

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
VERSION := $(shell sh -c 'cat VERSION')
2+
NODEJS_VERSION := 14.15.1
23

34
clean_pkg:
45
@rm -rf pkg/* docker/*.gem
@@ -16,7 +17,7 @@ docker: build install-deps
1617
@cp pkg/fluent-plugin-*.gem docker
1718
@mkdir -p docker/licenses
1819
@cp -rp LICENSE docker/licenses/
19-
@docker build --no-cache --pull --build-arg VERSION=$(VERSION) -t splunk/kube-objects:$(VERSION) ./docker
20+
@docker build --no-cache --pull --build-arg VERSION=$(VERSION) --build-arg NODEJS_VERSION=$(NODEJS_VERSION) -t splunk/kube-objects:$(VERSION) ./docker
2021

2122
unit-test:
2223
@bundle exec rake test
@@ -28,5 +29,7 @@ install-deps:
2829

2930
unpack: build
3031
@cp pkg/fluent-plugin-*.gem docker
32+
@mkdir -p docker/gem
33+
@rm -rf docker/gem/*
3134
@gem unpack docker/fluent-plugin-*.gem --target docker/gem
3235
@cd docker && bundle install

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.4
1+
1.1.5

docker/Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
FROM registry.access.redhat.com/ubi8/ruby-25
1+
FROM registry.access.redhat.com/ubi8/ruby-27
22

33
ARG VERSION
4+
ARG NODEJS_VERSION
45

56
LABEL name="Splunk Connect for Kubernetes Objects container" \
67
maintainer="[email protected]" \
@@ -14,16 +15,18 @@ ENV VERSION=${VERSION}
1415
ENV FLUENT_USER fluent
1516

1617
USER root
17-
COPY licenses /licenses
1818

1919
COPY *.gem /tmp/
20+
COPY licenses /licenses
2021

21-
RUN wget -O jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
22-
chmod +x ./jq && \
23-
cp jq /usr/bin
22+
RUN dnf install -y jq
2423

2524
COPY Gemfile* ./
26-
RUN gem install bundler \
25+
RUN yum update -y \
26+
&& npm install -g n \
27+
&& yum remove -y nodejs \
28+
&& n ${NODEJS_VERSION} \
29+
&& gem install bundler \
2730
&& gem unpack /tmp/*.gem --target gem \
2831
&& bundle install
2932

docker/Gemfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@ source 'https://rubygems.org'
33
# This is separate gemfile for building docker image that has all plugins
44
# for kubernetes log collection agent
55
# List all required gems here and install via bundler to resolve dependencies
6-
gem "fluentd", "=1.9.1"
7-
gem "fluent-plugin-prometheus", "=1.7.0"
8-
gem "fluent-plugin-record-modifier", "=2.1.0"
6+
gem "fluentd", "= 1.11.5"
7+
gem "fluent-plugin-prometheus", "= 1.8.5"
8+
gem "fluent-plugin-record-modifier", "= 2.1.0"
9+
gem "fluent-plugin-kubernetes_metadata_filter", "=2.5.3"
10+
gem "fluent-plugin-jq", "= 0.5.1"
11+
gem "oj", "= 3.10.18"
12+
gem 'multi_json', '>= 1.14.1'
13+
gem 'bigdecimal', '>= 2.0.0'
14+
gem 'kubeclient', '>= 4.6.0'
15+
gem 'http_parser.rb', '>= 0.5.3'
916

10-
gem "fluent-plugin-jq", "=0.5.1"
11-
gem "oj", "=3.10.2"
12-
gem 'multi_json', '=1.14.1'
13-
gem 'bigdecimal', '=2.0.0'
14-
gem 'kubeclient', '=4.6.0'
15-
gem 'http_parser.rb', '=0.5.3'
16-
17-
gem "fluent-plugin-splunk-hec", ">= 1.2.3"
17+
gem "fluent-plugin-splunk-hec", ">= 1.2.5"
1818

1919
gem 'fluent-plugin-kubernetes-objects', path: 'gem/'

0 commit comments

Comments
 (0)