rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics/kube-state-metrics-role.yaml

16 lines
286 B
YAML
Raw Normal View History

2018-12-09 02:26:54 +01:00
apiVersion: rbac.authorization.k8s.io/v1
2018-03-02 01:03:53 +01:00
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"]