Skip to content

Commit

Permalink
Merge pull request #44 from sonatype/CLM-32923-upgrade-bitnami-fluent…
Browse files Browse the repository at this point in the history
…d-helm-chart

CLM-32923 Upgrade the bitnami/fluentd helm chart to 7.0.3
  • Loading branch information
benflodge authored Dec 18, 2024
2 parents 1507f42 + a8a300a commit 64d3aa8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 27 deletions.
6 changes: 3 additions & 3 deletions chart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ dependencies:
version: 4.4.2
- name: fluentd
repository: https://charts.bitnami.com/bitnami
version: 5.5.12
digest: sha256:3001c4faf25aa8e74482a992d2e85b72bb0b4a6f0d9b6c6cce2c6f7f3874ac51
generated: "2023-01-17T15:12:14.6881484Z"
version: 7.0.3
digest: sha256:d601322ce9754462b0defe7e96c86765b5e1c56ff3225569ab2cf97751025f30
generated: "2024-12-12T13:12:09.665889Z"
2 changes: 1 addition & 1 deletion chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ dependencies:
condition: ingress-nginx.enabled
- name: fluentd
repository: https://charts.bitnami.com/bitnami
version: 5.5.12
version: 7.0.3
condition: fluentd.enabled
4 changes: 2 additions & 2 deletions chart/tests/iq-server-deployment_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ tests:
- env:
- name: FLUENTD_CONF
value: fluentd.yaml
image: bitnami/fluentd:1.15.3-debian-11-r20
image: bitnami/fluentd:1.18.0-debian-12-r0
imagePullPolicy: IfNotPresent
name: RELEASE-NAME-fluentd-container
resources:
Expand Down Expand Up @@ -391,7 +391,7 @@ tests:
- env:
- name: FLUENTD_CONF
value: fluentd.yaml
image: bitnami/fluentd:1.15.3-debian-11-r20
image: bitnami/fluentd:1.18.0-debian-12-r0
imagePullPolicy: IfNotPresent
name: RELEASE-NAME-fluentd-container
securityContext:
Expand Down
24 changes: 3 additions & 21 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -667,32 +667,14 @@ fluentd:
name: cloudwatch
key: logStreamName
optional: true
podSecurityContext:
enabled: true
runAsUser: 1000
runAsGroup: 0
fsGroup: 0
containerSecurityContext:
enabled: true
allowPrivilegeEscalation: true
readOnlyRootFilesystem: false
privileged: true
initContainers:
- name: "{{ .Release.Name }}-set-fluentd-persistence-ownership"
image: "{{ tpl (include \"nexus-iq-server-ha.busyboxImage\" .) $}}"
command: [ "sh", "-c", "chown -R 1000:1000 /opt/bitnami/fluentd/logs/nexus-iq-server" ]
command: [ "sh", "-c", "chown -R 1001:1001 /opt/bitnami/fluentd/logs/nexus-iq-server" ]
volumeMounts:
- mountPath: "/opt/bitnami/fluentd/logs/nexus-iq-server"
name: "iq-server-pod-volume"
subPath: log
initScripts:
extraGems:
# Plugin which can be configured to send logs to CloudWatch
plugins.sh: "fluent-gem install fluent-plugin-cloudwatch-logs"

securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
- fluent-plugin-cloudwatch-logs

0 comments on commit 64d3aa8

Please sign in to comment.