Skip to content

Commit 30c9b5c

Browse files
Merge pull request #89 from oracle-quickstart/ruby_3.3.1_upgrade
Release v3.5.0
2 parents 56a92be + b74d012 commit 30c9b5c

File tree

8 files changed

+204
-189
lines changed

8 files changed

+204
-189
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Log
22

3+
## 2024-09-19
4+
### Changed
5+
- Fluentd collector container image uptake to 1.5.0 having OS update, Ruby 3.3.1 upgrade and other dependency gem updates.
6+
- Similar updates to build files (Dockerfile, Gemfile) that helps building custom container image.
7+
38
## 2024-07-08
49
### Added
510
- Option to disable JRE default security property for Agent.

charts/logan/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apiVersion: v2
55
name: oci-onm-logan
66
description: Charts for sending Kubernetes platform logs, compute logs, and Kubernetes Objects information to OCI Logging Analytics.
77
type: application
8-
version: 3.4.4
8+
version: 3.5.0
99
appVersion: "3.0.0"
1010

1111
dependencies:

charts/logan/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ image:
4848
# Image pull secrets for. Secret must be in the namespace defined by namespace
4949
imagePullSecrets:
5050
# -- Replace this value with actual docker image url
51-
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.3
51+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.5.0
5252
# -- Image pull policy
5353
imagePullPolicy: Always
5454

charts/oci-onm/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ type: application
1818
# This is the chart version. This version number should be incremented each time you make changes
1919
# to the chart and its templates, including the app version.
2020
# Versions are expected to follow Semantic Versioning (https://semver.org/)
21-
version: 3.4.4
21+
version: 3.5.0
2222

2323
# This is the version number of the application being deployed. This version number should be
2424
# incremented each time you make changes to the application. Versions are not expected to
@@ -32,7 +32,7 @@ dependencies:
3232
repository: "file://../common"
3333
condition: oci-onm-common.enabled
3434
- name: oci-onm-logan
35-
version: "3.4.4"
35+
version: "3.5.0"
3636
repository: "file://../logan"
3737
condition: oci-onm-logan.enabled
3838
- name: oci-onm-mgmt-agent

charts/oci-onm/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ oci-onm-logan:
3131
kubernetesClusterID: "{{ .Values.global.kubernetesClusterID }}"
3232
kubernetesClusterName: "{{ .Values.global.kubernetesClusterName }}"
3333
image:
34-
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.4.3
34+
url: container-registry.oracle.com/oci_observability_management/oci-la-fluentd-collector:1.5.0
3535
# Go to OCI Logging Analytics Administration, click Service Details, and note the namespace value.
3636
ociLANamespace:
3737
# OCI Logging Analytics Default Log Group OCID

logan/docker-images/v1.0/oraclelinux/8-slim/Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ USER root
1111
WORKDIR /fluentd
1212

1313
# Environment variables
14-
ENV PATH /fluentd/vendor/bundle/ruby/3.1.0/bin:$PATH
15-
ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.1.0:$GEM_PATH
16-
ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.1.0
14+
ENV PATH /fluentd/vendor/bundle/ruby/3.3/bin:$PATH
15+
ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.3:$GEM_PATH
16+
ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.3
1717
# skip runtime bundler installation
1818
ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
1919

2020
COPY Gemfile* /fluentd/
2121

2222
# Install ruby, ruby-libs along with rubygems and bundler.
23-
RUN microdnf -y module enable ruby:3.1 \
23+
RUN microdnf -y module enable ruby:3.3 \
2424
# Install ruby and ruby-libs, disabling week dependencies
2525
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
2626
# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
2727
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
28-
&& gem install bundler -v 2.3.25 \
28+
&& gem install bundler -v 2.5.16 \
2929
# Install development dependent packages for gems native installation
3030
&& microdnf --enablerepo ol8_codeready_builder -y install --nodocs gcc make redhat-rpm-config openssl ruby-devel gcc-c++ libtool libffi-devel bzip2 git libyaml-devel \
3131
# Install Fluentd, it's dependencies along with other run time dependencies for OCI Logging Analytics Solution
@@ -50,19 +50,19 @@ USER root
5050
WORKDIR /fluentd
5151

5252
# Environment variables
53-
ENV PATH /fluentd/vendor/bundle/ruby/3.1.0/bin:$PATH
54-
ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.1.0:$GEM_PATH
55-
ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.1.0
53+
ENV PATH /fluentd/vendor/bundle/ruby/3.3/bin:$PATH
54+
ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.3:$GEM_PATH
55+
ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.3
5656
# skip runtime bundler installation
5757
ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
5858

5959
# Install ruby, ruby-libs along with rubygems and bundler.
60-
RUN microdnf -y module enable ruby:3.1 \
60+
RUN microdnf -y module enable ruby:3.3 \
6161
# Install ruby and ruby-libs, disabling week dependencies
6262
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
6363
# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
6464
&& microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
65-
&& gem install bundler -v 2.3.25 \
65+
&& gem install bundler -v 2.5.16 \
6666
&& bundle config --local path /fluentd/vendor/bundle \
6767
# clear caches
6868
&& microdnf clean all \

logan/docker-images/v1.0/oraclelinux/8-slim/Gemfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33

44
source "https://rubygems.org"
55

6-
gem "oj", "3.16.1"
7-
gem "json", "2.7.1"
8-
gem "fluentd", "1.16.2"
6+
gem "oj", "3.16.4"
7+
gem "json", "2.7.2"
8+
gem "fluentd", "1.17.1"
99
gem "fluent-plugin-oci-logging-analytics", "2.0.6"
1010
gem "fluent-plugin-concat", "~> 2.5.0"
1111
gem "fluent-plugin-rewrite-tag-filter", "~> 2.4.0"
1212
gem "fluent-plugin-parser-cri", "~> 0.1.1"
13-
gem "fluent-plugin-kubernetes_metadata_filter", "3.3.0"
14-
gem "oci-logging-analytics-kubernetes-discovery", "1.0.1"
15-
gem "fluent-plugin-record-modifier", "2.1.1"
13+
gem "fluent-plugin-kubernetes_metadata_filter", "3.5.0"
14+
gem "oci-logging-analytics-kubernetes-discovery", "1.0.2"
15+
gem "fluent-plugin-record-modifier", "2.2.0"
1616
gem "fluent-plugin-cloudwatch-logs", "0.14.3"
1717
gem "fluent-plugin-s3", "1.7.2"
18-
gem "rexml", "3.2.6"
18+
gem "rexml", "3.3.7"

0 commit comments

Comments
 (0)