Skip to content

Commit

Permalink
Changes for MetricsExporter and PrometheusRules for multicluster
Browse files Browse the repository at this point in the history
In a multi storagecluster scenario, we have to create the following
resources on each of the storagecluster namespaces
a. metrics exporter deployment
b. exporter service and servicemonitor
c. prometheus rules

Signed-off-by: Arun Kumar Mohan <[email protected]>
  • Loading branch information
aruniiird committed Dec 11, 2023
1 parent 2b565e4 commit a012846
Show file tree
Hide file tree
Showing 7 changed files with 663 additions and 66 deletions.
16 changes: 16 additions & 0 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ rules:
- persistentvolumeclaims
- pods
- secrets
- serviceaccounts
- services
verbs:
- '*'
Expand Down Expand Up @@ -276,6 +277,21 @@ rules:
- clusterresourcequotas
verbs:
- '*'
- apiGroups:
- rbac.authorization.k8s.io
resources:
- clusterrolebindings
- clusterroles
- rolebindings
- roles
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- route.openshift.io
resources:
Expand Down
Loading

0 comments on commit a012846

Please sign in to comment.