Skip to content

Commit 5511eb4

Browse files
authored
Fix fluentd customFilters configuration (#71)
- Move the `customFilters` configuration from global scope under `.fluentd.config` - Fix the config indentation
1 parent 3e73a2a commit 5511eb4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

helm-charts/splunk-otel-collector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: splunk-otel-collector
3-
version: 0.20.7
3+
version: 0.20.8
44
description: Splunk OpenTelemetry Connector for Kubernetes
55
type: application
66
keywords:

helm-charts/splunk-otel-collector/templates/configmap-fluentd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,12 +278,12 @@ data:
278278
</filter>
279279
280280
# = custom filters specified by users =
281-
{{- range $name, $filterDef := .Values.customFilters }}
281+
{{- range $name, $filterDef := .Values.fluentd.config.customFilters }}
282282
{{- if and $filterDef.tag $filterDef.type }}
283283
<filter {{ $filterDef.tag }}>
284284
@type {{ $filterDef.type }}
285285
{{- if $filterDef.body }}
286-
{{ $filterDef.body | indent 8 }}
286+
{{- $filterDef.body | nindent 8 }}
287287
{{- end }}
288288
</filter>
289289
{{- end }}

0 commit comments

Comments
 (0)