Skip to content

Set explicit fluent-bit name label selector #1293

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

Merged

Conversation

rmvangun
Copy link
Contributor

What this PR does / why we need it:

The fluent-bit service is created with a hardcoded label, https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluentbit-fluentBit.yaml#L9

This seems reasonable? So I added this to the ServiceMonitor selector as well, and removed the use of the fluent-operator labels.

Which issue(s) this PR fixes:

Fixes #1292

Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:


@benjaminhuo
Copy link
Member

@rmvangun you'll need to sign your commit

git commit -s --amend
git push -f

cc @wenchajun @wanjunlei

@rmvangun rmvangun force-pushed the fix-servicemonitor-fluentbit-selector branch from 4a8e65c to 949056f Compare August 12, 2024 13:34
@benjaminhuo benjaminhuo merged commit fadeede into fluent:master Aug 12, 2024
2 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.

bug: ServiceMonitor doesn't select fluent-bit service
2 participants