feat(orchestrator): grant Gateway and Inference API collection RBAC - #3438
Draft
aureleoules wants to merge 1 commit into
Draft
feat(orchestrator): grant Gateway and Inference API collection RBAC#3438aureleoules wants to merge 1 commit into
aureleoules wants to merge 1 commit into
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Grants the Cluster Agent list/watch permissions for all standard Gateway API resources and Gateway API Inference Extension
InferencePoolandInferencePoolImportresources collected OOTB.The rules are unconditional; service-mesh and ingress-controller permissions remain controlled by the network CRDs setting. Kubebuilder markers, the generated role, and renderer golden files are updated.
Motivation
Operator-managed installations need default RBAC for the Agent's built-in Gateway and Inference API collectors. The Operator also needs permission to grant those rules.
Companion PRs:
Additional Notes
The public Helm chart and internal Operator chart contain equivalent RBAC changes. The backend allowlist and deployment RBAC should roll out before the Agent release.
Minimum Agent Versions
Describe your test plan
make generatego test ./internal/controller/datadogagent/feature/orchestratorexplorer ./pkg/kubernetes/rbacgo test ./internal/controller/testutils/renderer/ -run TestRender_GoldenChecklist
qa/skip-qalabel