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

Flow: add ability to restrict namespaces of loki.source.podlogs #496

Open
rfratto opened this issue Jan 30, 2023 · 0 comments · May be fixed by grafana/agent#6388
Open

Flow: add ability to restrict namespaces of loki.source.podlogs #496

rfratto opened this issue Jan 30, 2023 · 0 comments · May be fixed by grafana/agent#6388
Assignees
Labels
enhancement New feature or request

Comments

@rfratto
Copy link
Member

rfratto commented Jan 30, 2023

Currently, loki.source.podlogs watches all namespaces for PodLogs, which requires giving the agent a ClusterRole binding. If a user wanted to restrict the permissions of the agent to a specific namespace, there's currently no way to do this; loki.source.podlogs always watches for PodLogs at the cluster scope.

loki.source.podlogs should be configurable with an allowlist of namespaces to watch.

@rfratto rfratto added the enhancement New feature or request label Jan 30, 2023
@ptodev ptodev self-assigned this Feb 19, 2024
@rfratto rfratto transferred this issue from grafana/agent Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants