[feat] Upgrade metrics server to v0.6.1 (#8909)

* Metrics Server now requires access to nodes/metrics RBAC resource instead of nodes/stats. See: https://github.com/kubernetes-sigs/metrics-server/releases/tag/v0.6.0
* Minimize rbac permissions.
This commit is contained in:
Mohamed Zaian 2022-06-06 16:34:37 +02:00 committed by GitHub
parent 01ca7293f5
commit b2346cdaec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -1012,7 +1012,7 @@ dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
registry_image_repo: "{{ docker_image_repo }}/library/registry"
registry_image_tag: "2.7.1"
metrics_server_version: "v0.5.2"
metrics_server_version: "v0.6.1"
metrics_server_image_repo: "{{ kube_image_repo }}/metrics-server/metrics-server"
metrics_server_image_tag: "{{ metrics_server_version }}"
local_volume_provisioner_image_repo: "{{ kube_image_repo }}/sig-storage/local-volume-provisioner"

View file

@ -10,9 +10,7 @@ rules:
resources:
- pods
- nodes
- nodes/stats
- namespaces
- configmaps
- nodes/metrics
verbs:
- get
- list