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 watch permission for pods in UI #2110

Merged
merged 5 commits into from
Jan 1, 2025
Merged

Conversation

RonFed
Copy link
Collaborator

@RonFed RonFed commented Jan 1, 2025

The collector metrics package in the UI backend uses a watch for the collector pods.
Initially, it had watch permission for pods but somewhere it got reverted which resulted in the error:

Collector metrics: Error running delete watcher: unknown (get pods)

@RonFed RonFed requested review from blumamir and BenElferink January 1, 2025 11:05
APIGroups: []string{""},
Resources: []string{"services", "pods"},
Verbs: []string{"get", "list"},
Verbs: []string{"get", "list", "watch"},
Copy link
Collaborator

Choose a reason for hiding this comment

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

add also to helm

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right!
Done

@RonFed RonFed merged commit 7ad98e8 into odigos-io:main Jan 1, 2025
32 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.

4 participants