github.com/m3db/m3@v1.5.0/scripts/vagrant/provision/manifests/kube-prometheus/kube-state-metrics-role.yaml (about) 1 apiVersion: rbac.authorization.k8s.io/v1 2 kind: Role 3 metadata: 4 name: kube-state-metrics 5 namespace: monitoring 6 rules: 7 - apiGroups: 8 - "" 9 resources: 10 - pods 11 verbs: 12 - get 13 - apiGroups: 14 - extensions 15 resourceNames: 16 - kube-state-metrics 17 resources: 18 - deployments 19 verbs: 20 - get 21 - update 22 - apiGroups: 23 - apps 24 resourceNames: 25 - kube-state-metrics 26 resources: 27 - deployments 28 verbs: 29 - get 30 - update