rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics/kube-state-metrics-role.yaml
2018-03-01 19:03:53 -05:00

16 lines
291 B
YAML

apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
name: kube-state-metrics-resizer
rules:
- apiGroups: [""]
resources:
- pods
verbs: ["get"]
- apiGroups: ["extensions"]
resources:
- deployments
resourceNames: ["kube-state-metrics"]
verbs: ["get", "update"]