diff --git a/charts/axosyslog-collector/Chart.yaml b/charts/axosyslog-collector/Chart.yaml index ea4f60e..9f5f1ee 100644 --- a/charts/axosyslog-collector/Chart.yaml +++ b/charts/axosyslog-collector/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: axosyslog-collector description: AxoSyslog Kubernetes log collector type: application -version: 0.7.0 +version: 0.8.0 appVersion: "4.5.0" diff --git a/charts/axosyslog-collector/templates/config.yaml b/charts/axosyslog-collector/templates/config.yaml index 7f1c762..70a7368 100644 --- a/charts/axosyslog-collector/templates/config.yaml +++ b/charts/axosyslog-collector/templates/config.yaml @@ -43,6 +43,13 @@ data: opentelemetry(); }; {{- end }} +{{- with .Values.config.rewrites.set }} + rewrite { +{{- range $k, $v := . }} + set({{ $v | quote }} value({{ $k | quote }})); +{{- end }} + }; +{{- end }} {{- range .Values.config.destinations.file }} destination { file( diff --git a/charts/axosyslog-collector/values.yaml b/charts/axosyslog-collector/values.yaml index ebd2a37..8d983b6 100644 --- a/charts/axosyslog-collector/values.yaml +++ b/charts/axosyslog-collector/values.yaml @@ -54,6 +54,11 @@ config: parsers: opentelemetry: enabled: false + rewrites: + set: {} +# E.g.: +# foo: "${foovalue}" +# bar: "${barvalue}" destinations: file: [] # E.g.: