Merge pull request #1322 from dbason/strip-underscores

Add option to strip underscores for fluentbit journald config
pull/1302/head
Nick Gerace 2021-07-01 17:20:58 -04:00 committed by GitHub
commit 3f282c30e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 1 deletions

View File

@ -19,6 +19,9 @@ data:
Tag k3s
Path {{ .Values.systemdLogPath | default "/var/log/journal" }}
Systemd_Filter _SYSTEMD_UNIT=k3s.service
{{- if .Values.additionalLoggingSources.k3s.stripUnderscores }}
Strip_Underscores On
{{- end }}
[OUTPUT]
Name forward

View File

@ -20,6 +20,9 @@ data:
Path {{ .Values.systemdLogPath | default "/var/log/journal" }}
Systemd_Filter _SYSTEMD_UNIT=rke2-server.service
Systemd_Filter _SYSTEMD_UNIT=rke2-agent.service
{{- if .Values.additionalLoggingSources.rke2.stripUnderscores }}
Strip_Underscores On
{{- end }}
[OUTPUT]
Name forward

View File

@ -116,9 +116,11 @@ additionalLoggingSources:
mem_buffer_limit: "5MB"
rke2:
enabled: false
stripUnderscores: false
k3s:
enabled: false
container_engine: "systemd"
stripUnderscores: false
aks:
enabled: false
eks:

View File

@ -19,6 +19,9 @@ data:
Tag k3s
Path {{ .Values.systemdLogPath | default "/var/log/journal" }}
Systemd_Filter _SYSTEMD_UNIT=k3s.service
{{- if .Values.additionalLoggingSources.k3s.stripUnderscores }}
Strip_Underscores On
{{- end }}
[OUTPUT]
Name forward

View File

@ -20,6 +20,9 @@ data:
Path {{ .Values.systemdLogPath | default "/var/log/journal" }}
Systemd_Filter _SYSTEMD_UNIT=rke2-server.service
Systemd_Filter _SYSTEMD_UNIT=rke2-agent.service
{{- if .Values.additionalLoggingSources.rke2.stripUnderscores }}
Strip_Underscores On
{{- end }}
[OUTPUT]
Name forward

View File

@ -36,7 +36,7 @@
rbac:
enabled: true
psp:
@@ -95,3 +103,107 @@
@@ -95,3 +103,109 @@
additionalLabels: {}
metricRelabelings: []
relabelings: []
@ -53,9 +53,11 @@
+ mem_buffer_limit: "5MB"
+ rke2:
+ enabled: false
+ stripUnderscores: false
+ k3s:
+ enabled: false
+ container_engine: "systemd"
+ stripUnderscores: false
+ aks:
+ enabled: false
+ eks: