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

Commit 74eac65

Browse files
authored
libupdate (#61)
* libupdate
1 parent 23c9875 commit 74eac65

File tree

7 files changed

+47
-52
lines changed

7 files changed

+47
-52
lines changed

Gemfile.lock

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
11
PATH
22
remote: .
33
specs:
4-
fluent-plugin-kubernetes-objects (1.1.5)
4+
fluent-plugin-kubernetes-objects (1.1.6)
55
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.7.0)
12+
addressable (2.8.0)
1313
public_suffix (>= 2.0.2, < 5.0)
14-
concurrent-ruby (1.1.8)
14+
concurrent-ruby (1.1.9)
1515
cool.io (1.7.1)
1616
crack (0.4.5)
1717
rexml
18-
docile (1.3.5)
18+
docile (1.4.0)
1919
domain_name (0.5.20190701)
2020
unf (>= 0.0.5, < 1.0.0)
21-
ffi (1.14.2)
21+
ffi (1.15.3)
2222
ffi-compiler (1.0.1)
2323
ffi (>= 1.0.0)
2424
rake
25-
fluentd (1.12.1)
25+
fluentd (1.13.2)
2626
bundler
2727
cool.io (>= 1.4.5, < 2.0.0)
28-
http_parser.rb (>= 0.5.1, < 0.7.0)
28+
http_parser.rb (>= 0.5.1, < 0.8.0)
2929
msgpack (>= 1.3.1, < 2.0.0)
3030
serverengine (>= 2.2.2, < 3.0.0)
3131
sigdump (~> 0.2.2)
3232
strptime (>= 0.2.2, < 1.0.0)
3333
tzinfo (>= 1.0, < 3.0)
3434
tzinfo-data (~> 1.0)
35+
webrick (>= 1.4.2, < 1.8.0)
3536
yajl-ruby (~> 1.0)
3637
hashdiff (1.0.1)
3738
http (4.4.1)
@@ -40,7 +41,7 @@ GEM
4041
http-form_data (~> 2.2)
4142
http-parser (~> 1.2.0)
4243
http-accept (1.7.0)
43-
http-cookie (1.0.3)
44+
http-cookie (1.0.4)
4445
domain_name (~> 0.5)
4546
http-form_data (2.3.0)
4647
http-parser (1.2.3)
@@ -52,31 +53,31 @@ GEM
5253
rest-client (~> 2.0)
5354
mime-types (3.3.1)
5455
mime-types-data (~> 3.2015)
55-
mime-types-data (3.2021.0225)
56+
mime-types-data (3.2021.0704)
5657
minitest (5.14.4)
5758
msgpack (1.4.2)
5859
netrc (0.11.0)
5960
power_assert (2.0.0)
6061
public_suffix (4.0.6)
61-
rake (13.0.3)
62+
rake (13.0.6)
6263
recursive-open-struct (1.1.3)
6364
rest-client (2.1.0)
6465
http-accept (>= 1.7.0, < 2.0)
6566
http-cookie (>= 1.0.2, < 2.0)
6667
mime-types (>= 1.16, < 4.0)
6768
netrc (~> 0.8)
68-
rexml (3.2.4)
69-
serverengine (2.2.3)
69+
rexml (3.2.5)
70+
serverengine (2.2.4)
7071
sigdump (~> 0.2.2)
7172
sigdump (0.2.4)
7273
simplecov (0.21.2)
7374
docile (~> 1.1)
7475
simplecov-html (~> 0.11)
7576
simplecov_json_formatter (~> 0.1)
7677
simplecov-html (0.12.3)
77-
simplecov_json_formatter (0.1.2)
78+
simplecov_json_formatter (0.1.3)
7879
strptime (0.2.5)
79-
test-unit (3.4.0)
80+
test-unit (3.4.4)
8081
power_assert
8182
tzinfo (2.0.4)
8283
concurrent-ruby (~> 1.0)
@@ -85,10 +86,11 @@ GEM
8586
unf (0.1.4)
8687
unf_ext
8788
unf_ext (0.0.7.7)
88-
webmock (3.12.0)
89+
webmock (3.13.0)
8990
addressable (>= 2.3.6)
9091
crack (>= 0.3.2)
9192
hashdiff (>= 0.4.0, < 2.0.0)
93+
webrick (1.7.0)
9294
yajl-ruby (1.4.1)
9395

9496
PLATFORMS
@@ -104,4 +106,4 @@ DEPENDENCIES
104106
webmock (~> 3.5)
105107

106108
BUNDLED WITH
107-
2.2.13
109+
2.2.23

Makefile

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

43
clean_pkg:
54
@rm -rf pkg/* docker/*.gem
@@ -17,7 +16,7 @@ docker: build install-deps
1716
@cp pkg/fluent-plugin-*.gem docker
1817
@mkdir -p docker/licenses
1918
@cp -rp LICENSE docker/licenses/
20-
@docker build --no-cache --pull --build-arg VERSION=$(VERSION) --build-arg NODEJS_VERSION=$(NODEJS_VERSION) -t splunk/kube-objects:$(VERSION) ./docker
19+
@docker build --no-cache --pull --build-arg VERSION=$(VERSION) -t splunk/kube-objects:$(VERSION) ./docker
2120

2221
unit-test:
2322
@bundle exec rake test

VERSION

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

docker/Dockerfile

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

33
ARG VERSION
4-
ARG NODEJS_VERSION
54

65
LABEL name="Splunk Connect for Kubernetes Objects container" \
76
maintainer="[email protected]" \
@@ -23,9 +22,7 @@ RUN dnf install -y jq
2322

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

docker/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source 'https://rubygems.org'
44
# for kubernetes log collection agent
55
# List all required gems here and install via bundler to resolve dependencies
66
gem "fluentd", "= 1.11.5"
7-
gem "fluent-plugin-prometheus", "= 1.8.5"
7+
gem "fluent-plugin-prometheus", ">= 2.0"
88
gem "fluent-plugin-record-modifier", "= 2.1.0"
99
gem "fluent-plugin-kubernetes_metadata_filter", "=2.5.3"
1010
gem "fluent-plugin-jq", "= 0.5.1"

docker/Gemfile.lock

Lines changed: 24 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
PATH
22
remote: gem
33
specs:
4-
fluent-plugin-kubernetes-objects (1.1.5)
4+
fluent-plugin-kubernetes-objects (1.1.6)
55
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-
activemodel (6.1.3)
13-
activesupport (= 6.1.3)
14-
activesupport (6.1.3)
12+
activemodel (6.1.4)
13+
activesupport (= 6.1.4)
14+
activesupport (6.1.4)
1515
concurrent-ruby (~> 1.0, >= 1.0.2)
1616
i18n (>= 1.6, < 2)
1717
minitest (>= 5.1)
1818
tzinfo (~> 2.0)
1919
zeitwerk (~> 2.3)
20-
addressable (2.7.0)
20+
addressable (2.8.0)
2121
public_suffix (>= 2.0.2, < 5.0)
2222
aes_key_wrap (1.1.0)
2323
attr_required (1.0.1)
24-
bigdecimal (3.0.0)
25-
bindata (2.4.8)
26-
concurrent-ruby (1.1.8)
27-
connection_pool (2.2.3)
24+
bigdecimal (3.0.2)
25+
bindata (2.4.10)
26+
concurrent-ruby (1.1.9)
27+
connection_pool (2.2.5)
2828
cool.io (1.7.1)
2929
domain_name (0.5.20190701)
3030
unf (>= 0.0.5, < 1.0.0)
31-
ffi (1.14.2)
31+
ffi (1.15.3)
3232
ffi-compiler (1.0.1)
3333
ffi (>= 1.0.0)
3434
rake
@@ -39,17 +39,17 @@ GEM
3939
fluentd (>= 0.14.0, < 1.12)
4040
kubeclient (< 5)
4141
lru_redux
42-
fluent-plugin-prometheus (1.8.5)
42+
fluent-plugin-prometheus (2.0.1)
4343
fluentd (>= 1.9.1, < 2)
44-
prometheus-client (< 0.10)
44+
prometheus-client (>= 2.1.0)
4545
fluent-plugin-record-modifier (2.1.0)
4646
fluentd (>= 1.0, < 2)
47-
fluent-plugin-splunk-hec (1.2.5)
47+
fluent-plugin-splunk-hec (1.2.7)
4848
fluentd (>= 1.4)
4949
multi_json (~> 1.13)
5050
net-http-persistent (~> 3.1)
5151
openid_connect (~> 1.1.8)
52-
prometheus-client (< 0.10.0)
52+
prometheus-client (>= 2.1.0)
5353
fluentd (1.11.5)
5454
cool.io (>= 1.4.5, < 2.0.0)
5555
http_parser.rb (>= 0.5.1, < 0.7.0)
@@ -66,14 +66,14 @@ GEM
6666
http-form_data (~> 2.2)
6767
http-parser (~> 1.2.0)
6868
http-accept (1.7.0)
69-
http-cookie (1.0.3)
69+
http-cookie (1.0.4)
7070
domain_name (~> 0.5)
7171
http-form_data (2.3.0)
7272
http-parser (1.2.3)
7373
ffi-compiler (>= 1.0, < 2.0)
7474
http_parser.rb (0.5.3)
7575
httpclient (2.8.3)
76-
i18n (1.8.9)
76+
i18n (1.8.10)
7777
concurrent-ruby (~> 1.0)
7878
json-jwt (1.13.0)
7979
activesupport (>= 4.2)
@@ -88,8 +88,8 @@ GEM
8888
mini_mime (>= 0.1.1)
8989
mime-types (3.3.1)
9090
mime-types-data (~> 3.2015)
91-
mime-types-data (3.2021.0225)
92-
mini_mime (1.0.2)
91+
mime-types-data (3.2021.0704)
92+
mini_mime (1.1.0)
9393
minitest (5.14.4)
9494
msgpack (1.4.2)
9595
multi_json (1.15.0)
@@ -107,25 +107,23 @@ GEM
107107
validate_email
108108
validate_url
109109
webfinger (>= 1.0.1)
110-
prometheus-client (0.9.0)
111-
quantile (~> 0.2.1)
110+
prometheus-client (2.1.0)
112111
public_suffix (4.0.6)
113-
quantile (0.2.1)
114112
rack (2.2.3)
115-
rack-oauth2 (1.16.0)
113+
rack-oauth2 (1.17.0)
116114
activesupport
117115
attr_required
118116
httpclient
119117
json-jwt (>= 1.11.0)
120118
rack (>= 2.1.0)
121-
rake (13.0.3)
119+
rake (13.0.6)
122120
recursive-open-struct (1.1.3)
123121
rest-client (2.1.0)
124122
http-accept (>= 1.7.0, < 2.0)
125123
http-cookie (>= 1.0.2, < 2.0)
126124
mime-types (>= 1.16, < 4.0)
127125
netrc (~> 0.8)
128-
serverengine (2.2.3)
126+
serverengine (2.2.4)
129127
sigdump (~> 0.2.2)
130128
sigdump (0.2.4)
131129
strptime (0.2.5)
@@ -160,9 +158,9 @@ DEPENDENCIES
160158
fluent-plugin-jq (= 0.5.1)
161159
fluent-plugin-kubernetes-objects!
162160
fluent-plugin-kubernetes_metadata_filter (= 2.5.3)
163-
fluent-plugin-prometheus (= 1.8.5)
161+
fluent-plugin-prometheus (>= 2.0)
164162
fluent-plugin-record-modifier (= 2.1.0)
165-
fluent-plugin-splunk-hec (>= 1.2.3)
163+
fluent-plugin-splunk-hec (>= 1.2.5)
166164
fluentd (= 1.11.5)
167165
http_parser.rb (>= 0.5.3)
168166
kubeclient (>= 4.6.0)

docker/build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#!/usr/bin/env bash
22
set -e
33
TAG=$1
4-
NODEJS_VERSION=14.15.1
54

65
# Install dependecies
76
gem install bundler
@@ -17,4 +16,4 @@ VERSION=`cat VERSION`
1716
echo "Copying licenses to be included in the docker image..."
1817
mkdir -p docker/licenses
1918
cp -rp LICENSE docker/licenses/
20-
docker build --no-cache --pull --build-arg VERSION=$VERSION --build-arg NODEJS_VERSION=$NODEJS_VERSION -t splunk/kube-objects:$TAG ./docker
19+
docker build --no-cache --pull --build-arg VERSION=$VERSION -t splunk/kube-objects:$TAG ./docker

0 commit comments

Comments
 (0)