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

Allow fluent-operator to watch Kubernetes events #1277

Merged

Conversation

thomasgouveia
Copy link
Contributor

What this PR does / why we need it:

This pull request adds a missing RBAC verb to enable the proper functioning of the Kubernetes events input.

Which issue(s) this PR fixes:

Fixes #1276

Does this PR introduced a user-facing change?

None

@@ -31,6 +31,7 @@ rules:
- events
verbs:
- list
- watch
Copy link
Member

Choose a reason for hiding this comment

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

As I can remember the roles in charts and manifests are generated.
@wenchajun could you point out what else to modify?
cc @wanjunlei

@thomasgouveia thomasgouveia force-pushed the fix-1276-kube-events-watch-rbac branch from 38889d4 to ff765bd Compare July 31, 2024 06:28
@wenchajun
Copy link
Member

please modify it https://github.com/fluent/fluent-operator/blob/master/controllers/fluentbit_controller.go#L49-L56

@thomasgouveia
Copy link
Contributor Author

@wenchajun done !

@benjaminhuo benjaminhuo merged commit e037ef8 into fluent:master Aug 12, 2024
9 of 10 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: could not watch events when using Kubernetes Events input due to missing verbs in operator RBAC
3 participants