Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions assets/csidriveroperators/aws-ebs/base/05_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,15 @@ rules:
- get
- list
- watch
# Allow Prometheus to discover endpoints via EndpointSlices
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
# Allow kube-rbac-proxy to create TokenReview to be able to authenticate Prometheus when collecting metrics
- apiGroups:
- authentication.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
9 changes: 9 additions & 0 deletions assets/csidriveroperators/azure-disk/base/06_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,15 @@ rules:
- get
- list
- watch
# Allow Prometheus to discover endpoints via EndpointSlices
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
# Allow kube-rbac-proxy to create TokenReview to be able to authenticate Prometheus when collecting metrics
- apiGroups:
- authentication.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
9 changes: 9 additions & 0 deletions assets/csidriveroperators/azure-file/base/06_clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,15 @@ rules:
- get
- list
- watch
# Allow Prometheus to discover endpoints via EndpointSlices
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
# Allow kube-rbac-proxy to create TokenReview to be able to authenticate Prometheus when collecting metrics
- apiGroups:
- authentication.k8s.io
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,15 @@ rules:
- update
- patch
- delete
# Allow Prometheus to discover endpoints via EndpointSlices
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
# Allow kube-rbac-proxy to create TokenReview to be able to authenticate Prometheus when collecting metrics
- apiGroups:
- "authentication.k8s.io"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ rules:
- update
- patch
- delete
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,14 @@ rules:
- update
- patch
- delete
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- authentication.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,14 @@ rules:
- 'get'
- 'list'
- 'watch'
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ rules:
- get
- list
- watch
- apiGroups:
- discovery.k8s.io
resources:
- endpointslices
verbs:
- get
- list
- watch
- apiGroups:
- policy
resources:
Expand Down