Skip to content

Commit

Permalink
Add namespace list and watch rbac
Browse files Browse the repository at this point in the history
  • Loading branch information
mansikulkarni96 committed Oct 21, 2024
1 parent 9f5b110 commit 621433f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ spec:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down
5 changes: 4 additions & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
Expand Down Expand Up @@ -53,6 +54,8 @@ rules:
- namespaces
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -247,5 +250,5 @@ rules:
- servicemonitors
verbs:
- create
- get
- delete
- get

0 comments on commit 621433f

Please sign in to comment.