Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add fluentbit daemonset hostPath toggle #926

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

OlegVanHorst
Copy link
Contributor

What this PR does / why we need it:

Currenly, fluentbit daemonset mounts three hostPath volumes. HostPath is forbidden in some k8s environments. This PR adds a flag disableLogVolumes to disable these mounts.

Which issue(s) this PR fixes:

Fixes #907

Does this PR introduced a user-facing change?

Additional documentation, usage docs, etc.:

},
}

if !fb.Spec.DisableLogVolumes {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the field be considered empty as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessarily. Since it's a non-pointer bool, the default false will be used if it is unset.

@benjaminhuo benjaminhuo merged commit 6be240a into fluent:master Sep 19, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fluentbit daemonset without hostPath volumes
3 participants