Skip to content

Commit

Permalink
Merge pull request #825 from NVIDIA/prom-crds-clusterrole
Browse files Browse the repository at this point in the history
add prometheus CR permissions back to gpu-operator clusterrole
  • Loading branch information
tariq1890 authored Jul 11, 2024
2 parents f1339d3 + a4f387b commit 8fb390c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 12 additions & 0 deletions deployments/gpu-operator/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ rules:
- get
- list
- watch
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- prometheusrules
verbs:
- get
- list
- create
- watch
- update
- delete
- apiGroups:
- nvidia.com
resources:
Expand Down
12 changes: 0 additions & 12 deletions deployments/gpu-operator/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,6 @@ rules:
- update
- patch
- delete
- apiGroups:
- monitoring.coreos.com
resources:
- servicemonitors
- prometheusrules
verbs:
- get
- list
- create
- watch
- update
- delete
- apiGroups:
- security.openshift.io
resources:
Expand Down

0 comments on commit 8fb390c

Please sign in to comment.