Skip to content

[CP 1344] Add DRA driver RBAC for OpenShift support#525

Open
ci-penbot-01 wants to merge 1 commit intoROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1344.rocm.gpu-operator.main
Open

[CP 1344] Add DRA driver RBAC for OpenShift support#525
ci-penbot-01 wants to merge 1 commit intoROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1344.rocm.gpu-operator.main

Conversation

@ci-penbot-01
Copy link
Copy Markdown
Contributor

cp of pensando/gpu-operator#1344


Source PR Description (pensando/gpu-operator#1344):

Add ServiceAccount, ClusterRole, and ClusterRoleBinding for the DRA driver so it can run on OpenShift clusters. The ClusterRole grants:

  • privileged SCC (required for OpenShift)
  • resourceslices CRUD (to publish GPU resources)
  • resourceclaims get (to process allocation requests)
  • nodes get (to look up node info for ResourceSlice ownership)

Also add the DRA driver service account to the OLM bundle's extra-service-accounts list so OLM-managed installs create the SA.

Cherrypick triggered by: ACP-Automation

Add ServiceAccount, ClusterRole, and ClusterRoleBinding for the DRA
driver so it can run on OpenShift clusters. The ClusterRole grants:
- privileged SCC (required for OpenShift)
- resourceslices CRUD (to publish GPU resources)
- resourceclaims get (to process allocation requests)
- nodes get (to look up node info for ResourceSlice ownership)

Also add the DRA driver service account to the OLM bundle's
extra-service-accounts list so OLM-managed installs create the SA.

(cherry picked from commit d18b854b53277db8806e2f805894cb1917786066)
@ci-penbot-01
Copy link
Copy Markdown
Contributor Author

AI-Assisted Cherry-Pick

Source PR: #1344
Target Branch: main

The cherry-pick operation encountered merge conflicts which were resolved automatically using AI assistance.

Files with conflicts (resolved by AI):

  • bundle/manifests/amd-gpu-operator.clusterserviceversion.yaml:38-44
Original conflict in bundle/manifests/amd-gpu-operator.clusterserviceversion.yaml
<<<<<<< HEAD
    containerImage: docker.io/rocm/amd-gpu-operator:dev
    createdAt: "2026-04-02T12:26:30Z"
=======
    containerImage: registry.test.pensando.io:5000/amd-gpu-operator:dev
    createdAt: "2026-04-15T18:57:11Z"
>>>>>>> d18b854b... Add DRA driver RBAC for OpenShift support (#1344)

Cherry-pick triggered by: ACP-Automation

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.

2 participants