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