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

[GEN-2112]: update RBAC permissions for Collector #2064

Merged
merged 15 commits into from
Dec 26, 2024

Conversation

BenElferink
Copy link
Contributor

@BenElferink BenElferink commented Dec 24, 2024

This pull request includes several changes to the Makefile, README.md, and various Go files related to RBAC roles and permissions. The most important changes involve adding comments for clarity, updating the deploy target in the Makefile, and documenting RBAC permissions for different components.

Updates to Makefile:

  • Modified the deploy target to ensure all components are deployed sequentially using make commands.

Documentation Improvements:

  • Added a detailed section in cli/cmd/resources/README.md to track RBAC permissions requested by different components, organized by APIGroups, Resources, Verbs, and the Component requesting them.

Codebase Simplification:

  • Added comments in cli/cmd/resources/autoscaler.go to explain the purpose of each PolicyRule in the NewAutoscalerRole function.
  • Added comments in cli/cmd/resources/datacollection.go to clarify the purpose of each PolicyRule in the NewDataCollectionClusterRole function.
  • Added comments in cli/cmd/resources/odiglet.go to describe the purpose of each PolicyRule in the NewOdigletRole function.

@BenElferink BenElferink requested a review from blumamir December 24, 2024 12:44
Copy link

@BenElferink
Copy link
Contributor Author

@blumamir this PR is now ready for review 👍

@BenElferink BenElferink enabled auto-merge (squash) December 26, 2024 09:50
@BenElferink BenElferink merged commit 3b069b2 into odigos-io:main Dec 26, 2024
31 of 32 checks passed
@BenElferink BenElferink deleted the gen-2112 branch January 6, 2025 12:34
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.

3 participants