kube-prometheus: add RBAC resources

This commit is contained in:
Frederic Branczyk
2017-03-22 19:36:17 +01:00
parent b8b3f99a4d
commit bf67031b5c
10 changed files with 99 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: rbac.authorization.k8s.io/v1alpha1
kind: ClusterRoleBinding
metadata:
name: prometheus-operator
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: prometheus-operator
subjects:
- kind: ServiceAccount
name: prometheus-operator
namespace: default