Files
weave-scope/examples/cri/cluster-role-binding.yaml
Lili Cosic 55c3f8006d Add example for cri-o
cri-o was used as an example as it is relatively easy to setup a cluster
using that container runtime as compared to others.
2018-07-26 10:52:08 +01:00

17 lines
388 B
YAML

# borrowed from https://cloud.weave.works/k8s/scope.yaml?k8s-version=1.10.0
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: weave-scope
labels:
name: weave-scope
namespace: weave
roleRef:
kind: ClusterRole
name: weave-scope
apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
name: weave-scope
namespace: weave