Skip to content

Commit

Permalink
Merge pull request #744 from NVIDIA/validator-finalizer-permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 authored Jun 8, 2024
2 parents fcefb85 + c9cd9b4 commit adceb5a
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 adceb5a

Please sign in to comment.