From 45f2be0f7ff08741493beec0cd6584e5c47136d2 Mon Sep 17 00:00:00 2001 From: Kristof Gyuracz Date: Thu, 23 Nov 2023 14:43:05 +0100 Subject: [PATCH] fixes for review --- charts/axosyslog-collector/templates/config.yaml | 4 ++-- charts/axosyslog-collector/values.yaml | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/axosyslog-collector/templates/config.yaml b/charts/axosyslog-collector/templates/config.yaml index 3d7f144..7f1c762 100644 --- a/charts/axosyslog-collector/templates/config.yaml +++ b/charts/axosyslog-collector/templates/config.yaml @@ -22,10 +22,10 @@ data: {{- if .Values.config.sources.kubernetes.enabled }} source { kubernetes( {{- if .Values.config.sources.kubernetes.prefix }} - prefix("{{ .Values.config.sources.kubernetes.prefix }}") + prefix({{ .Values.config.sources.kubernetes.prefix | quote }}) {{- end }} {{- if .Values.config.sources.kubernetes.keyDelimiter }} - key-delimiter("{{ .Values.config.sources.kubernetes.keyDelimiter }}") + key-delimiter({{ .Values.config.sources.kubernetes.keyDelimiter | quote }}) {{- end }} ); }; {{- end }} diff --git a/charts/axosyslog-collector/values.yaml b/charts/axosyslog-collector/values.yaml index d3f3917..ebd2a37 100644 --- a/charts/axosyslog-collector/values.yaml +++ b/charts/axosyslog-collector/values.yaml @@ -45,6 +45,9 @@ config: sources: kubernetes: enabled: true +# E.g.: +# prefix: "k8s~" +# keyDelimiter: "~" opentelemetry: [] # E.g.: # - port: 4317