c12s-kubespray/roles/kubernetes-apps/metrics_server/templates/resource-reader.yaml.j2

29 lines
469 B
Text
Raw Normal View History

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: system:metrics-server
labels:
addonmanager.kubernetes.io/mode: Reconcile
rules:
- apiGroups:
- ""
resources:
- pods
- nodes
- nodes/stats
- namespaces
- configmaps
verbs:
- get
- list
- watch
2020-05-28 10:18:02 +00:00
- apiGroups:
- "apps"
resources:
- deployments
verbs:
- get
- list
- update
- watch