Skip to content

Commit

Permalink
Merge pull request fluent#1082 from L1ghtman2k/master
Browse files Browse the repository at this point in the history
feat(disableLogVolumes): expose disableLogVolumes in helm chart
  • Loading branch information
benjaminhuo authored Mar 7, 2024
2 parents e141288 + d56064f commit 82dc7a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/fluent-operator/templates/fluentbit-fluentBit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,8 @@ spec:
serviceAccountAnnotations:
{{ toYaml .Values.fluentbit.serviceAccountAnnotations | indent 4 }}
{{- end }}
{{- if .Values.fluentbit.disableLogVolumes }}
disableLogVolumes: {{ .Values.fluentbit.disableLogVolumes }}
{{- end }}
{{- end }}
{{- end }}
3 changes: 3 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: "<cloud-prometheus-service-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
Expand Down

0 comments on commit 82dc7a9

Please sign in to comment.