kubernetes-handbook/manifests/heapster/heapster-rbac.yaml

21 lines
362 B
YAML
Raw Permalink Normal View History

2017-04-14 17:39:40 +08:00
apiVersion: v1
kind: ServiceAccount
metadata:
name: heapster
namespace: kube-system
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
name: heapster
subjects:
- kind: ServiceAccount
name: heapster
namespace: kube-system
roleRef:
kind: ClusterRole
name: cluster-admin
apiGroup: rbac.authorization.k8s.io