diff --git a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml index 5b5cd0bef..433972972 100644 --- a/charts/fluent-operator/templates/fluentbit-fluentBit.yaml +++ b/charts/fluent-operator/templates/fluentbit-fluentBit.yaml @@ -87,5 +87,8 @@ spec: serviceAccountAnnotations: {{ toYaml .Values.fluentbit.serviceAccountAnnotations | indent 4 }} {{- end }} +{{- if .Values.fluentbit.disableLogVolumes }} + disableLogVolumes: {{ .Values.fluentbit.disableLogVolumes }} +{{- end }} {{- end }} {{- end }} diff --git a/charts/fluent-operator/values.yaml b/charts/fluent-operator/values.yaml index a9e0c4042..8fc956082 100644 --- a/charts/fluent-operator/values.yaml +++ b/charts/fluent-operator/values.yaml @@ -337,6 +337,9 @@ fluentbit: # Change the port to the port of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data port: "" + # removes the hostPath mounts for varlibcontainers, varlogs and systemd. + disableLogVolumes: false + fluentd: # Installs a sub chart carrying the CRDs for the fluentd controller. The sub chart is enabled by default. crdsEnable: true