Skip to content
Snippets Groups Projects
Commit ebfc8594 authored by Nacho Barrientos's avatar Nacho Barrientos
Browse files

fluentbit: do not install scripts CM if no logs are collected

The CM is only used on fluentbit-logs/daemonset.yaml which is
conditional to the same variables.
parent 43863bf8
No related branches found
No related tags found
1 merge request!31fluentbit: do not install scripts CM if no logs are collected
{{- if and .Values.logs.enabled .Values.logs.fluentbit.enabled -}}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
...@@ -11,3 +12,4 @@ data: ...@@ -11,3 +12,4 @@ data:
record['timestamp'] = exp_sec * 1000 record['timestamp'] = exp_sec * 1000
return 2, timestamp, record return 2, timestamp, record
end end
{{- end -}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment