Skip to content

feat(orchestrator): grant Gateway and Inference API collection RBAC - #3438

Draft
aureleoules wants to merge 1 commit into
mainfrom
codex/gateway-inference-orchestrator-rbac
Draft

feat(orchestrator): grant Gateway and Inference API collection RBAC#3438
aureleoules wants to merge 1 commit into
mainfrom
codex/gateway-inference-orchestrator-rbac

Conversation

@aureleoules

@aureleoules aureleoules commented Sep 4, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Grants the Cluster Agent list/watch permissions for all standard Gateway API resources and Gateway API Inference Extension InferencePool and InferencePoolImport resources 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

  • Agent: N/A
  • Cluster Agent: a version containing the companion Agent change

Describe your test plan

  • make generate
  • go test ./internal/controller/datadogagent/feature/orchestratorexplorer ./pkg/kubernetes/rbac
  • go test ./internal/controller/testutils/renderer/ -run TestRender_Golden
  • Verified the generated ClusterRole contains the expected groups and resources

Checklist

  • PR has at least one valid label
  • PR has the qa/skip-qa label
  • All commits are signed

@datadog-datadog-prod-us1

Copy link
Copy Markdown

Pipelines

Unblock PR with BitsAI

⚠️ Warnings

Your PR has failed checks. Please review the issues below and take necessary action before merging.

🚦 1 Pipeline job failed

DataDog/datadog-operator | check_formatting — 🔧 Needs a code fix, caused by this PR

View more details · View in GitLab

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b8d9e8d | Docs | View more details | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant