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