Files
kube-prometheus/manifests/prometheus-operator/prometheus-operator-cluster-role-binding.yaml
Brandon Philips ce6b7009f8 kube-prometheus: fix rolebinding
This entire thing is built in the monitoring namespace but the
rolebinding was on default. This caused the operator to never launch.
2017-03-27 14:06:28 +02:00

13 lines
290 B
YAML

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: monitoring