k3s/recipes/metrics-server/aggregated-metrics-reader.yaml
Erik Wilson 6a54444104 Add recipes
Create initial recipes directory with metrics-server modified for
deployment in current k3s configuration.
2019-04-11 22:43:31 +00:00

13 lines
384 B
YAML

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: system:aggregated-metrics-reader
labels:
rbac.authorization.k8s.io/aggregate-to-view: "true"
rbac.authorization.k8s.io/aggregate-to-edit: "true"
rbac.authorization.k8s.io/aggregate-to-admin: "true"
rules:
- apiGroups: ["metrics.k8s.io"]
resources: ["pods"]
verbs: ["get", "list", "watch"]