c12s-kubespray/roles/rbac/templates/cluster-proportional-autoscaler-clusterrole.yml

36 lines
502 B
YAML
Raw Normal View History

2017-04-15 10:04:00 +00:00
---
2017-04-13 17:18:07 +00:00
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: cluster-proportional-autoscaler
rules:
- apiGroups:
- ""
resources:
- nodes
verbs:
- list
- apiGroups:
- ""
resources:
- replicationcontrollers/scale
verbs:
- get
- update
- apiGroups:
- extensions
resources:
- deployments/scale
- replicationcontrollers/scale
- replicasets/scale
verbs:
- get
- update
- apiGroups:
- ""
resources:
- configmaps
verbs:
- get
- create