Skip to content

Commit

Permalink
[OCP] add back permissions to set finalizers on CRDs
Browse files Browse the repository at this point in the history
Signed-off-by: Tariq Ibrahim <tibrahim@nvidia.com>
  • Loading branch information
tariq1890 committed Jun 8, 2024
1 parent fcefb85 commit c9cd9b4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
13 changes: 13 additions & 0 deletions assets/state-operator-validation/0210_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,16 @@ rules:
- get
- list
- watch
- apiGroups:
- nvidia.com
resources:
- clusterpolicies/finalizers
- nvidiadrivers/finalizers
verbs:
- create
- get
- list
- watch
- update
- patch
- delete
2 changes: 2 additions & 0 deletions deployments/gpu-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ rules:
- nvidia.com
resources:
- clusterpolicies
- clusterpolicies/finalizers
- clusterpolicies/status
- nvidiadrivers
- nvidiadrivers/finalizers
- nvidiadrivers/status
verbs:
- create
Expand Down

0 comments on commit c9cd9b4

Please sign in to comment.