mirror of
https://github.com/weaveworks/scope.git
synced 2026-04-05 10:17:01 +00:00
cri-o was used as an example as it is relatively easy to setup a cluster using that container runtime as compared to others.
45 lines
674 B
YAML
45 lines
674 B
YAML
# borrowed from https://cloud.weave.works/k8s/scope.yaml?k8s-version=1.10.0
|
|
# with little modificatios to reduce permissions
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: ClusterRole
|
|
metadata:
|
|
labels:
|
|
name: weave-scope
|
|
name: weave-scope
|
|
namespace: weave
|
|
rules:
|
|
- apiGroups:
|
|
- ""
|
|
resources:
|
|
- pods
|
|
- replicationcontrollers
|
|
- services
|
|
- nodes
|
|
verbs:
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- apps
|
|
resources:
|
|
- statefulsets
|
|
verbs:
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- batch
|
|
resources:
|
|
- cronjobs
|
|
- jobs
|
|
verbs:
|
|
- list
|
|
- watch
|
|
- apiGroups:
|
|
- extensions
|
|
resources:
|
|
- daemonsets
|
|
- deployments
|
|
- replicasets
|
|
verbs:
|
|
- list
|
|
- watch
|