Skip to content

Commit

Permalink
chore(deps): upgrade fluentd to 1.14.6-sumo-3
Browse files Browse the repository at this point in the history
The new version reloads ServiceAccount tokens periodically, correctly
handling token expiration enabled in K8s 1.21.

Co-authored-by: Andrzej Stencel <astencel@sumologic.com>
  • Loading branch information
Mikołaj Świątek and andrzej-stencel committed May 24, 2022
1 parent 94597eb commit 09695ea
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- chore(deps): upgrade fluentd to 1.14.6-sumo-3 [#2287][#2287]

[#2287]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2287
[Unreleased]: https://github.com/SumoLogic/sumologic-kubernetes-collection/compare/v2.7.1...release-v2.7

## [v2.7.1]
Expand Down
10 changes: 5 additions & 5 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ sumologic:
fluentd:
image:
repository: public.ecr.aws/sumologic/kubernetes-fluentd
tag: 1.14.6-sumo-1
tag: 1.14.6-sumo-3
pullPolicy: IfNotPresent

## Specifies whether a PodSecurityPolicy should be created
Expand Down Expand Up @@ -551,11 +551,11 @@ fluentd:
## Defines whether container-level pod annotations are enabled.
## Setting this to `true` might slightly affect Fluentd performance.
## See below link for full reference:
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-1/fluent-plugin-kubernetes-sumologic#container-level-pod-annotations
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-3/fluent-plugin-kubernetes-sumologic#container-level-pod-annotations
perContainerAnnotationsEnabled: false
## Defines the list of prefixes of container-level pod annotations.
## See below link for full reference:
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-1/fluent-plugin-kubernetes-sumologic#container-level-pod-annotations
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-3/fluent-plugin-kubernetes-sumologic#container-level-pod-annotations
perContainerAnnotationPrefixes: []

## ref: https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter#configuration
Expand All @@ -574,8 +574,8 @@ fluentd:
bearerTokenFile: ""
## Regex to match containers tag to `pod_name`, `namespace`, `container_name` and `docker_id`. All of them are obligatory
## See below links for reference:
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/blob/v1.14.6-sumo-1/fluent-plugin-kubernetes-metadata-filter/lib/fluent/plugin/filter_kubernetes_metadata.rb#L322-L325
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-1/fluent-plugin-kubernetes-metadata-filter#configuration
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/blob/v1.14.6-sumo-3/fluent-plugin-kubernetes-metadata-filter/lib/fluent/plugin/filter_kubernetes_metadata.rb#L322-L325
## https://github.com/SumoLogic/sumologic-kubernetes-fluentd/tree/v1.14.6-sumo-3/fluent-plugin-kubernetes-metadata-filter#configuration
tagToMetadataRegexp: '.+?\.containers\.(?<pod_name>[^_]+)_(?<namespace>[^_]+)_(?<container_name>.+)-(?<docker_id>[a-z0-9]{64})\.log$'

## To use additional filter plugins
Expand Down

0 comments on commit 09695ea

Please sign in to comment.