[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:
parent
01ca7293f5
commit
b2346cdaec
2 changed files with 2 additions and 4 deletions
|
@ -1012,7 +1012,7 @@ dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}"
|
||||||
|
|
||||||
registry_image_repo: "{{ docker_image_repo }}/library/registry"
|
registry_image_repo: "{{ docker_image_repo }}/library/registry"
|
||||||
registry_image_tag: "2.7.1"
|
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_repo: "{{ kube_image_repo }}/metrics-server/metrics-server"
|
||||||
metrics_server_image_tag: "{{ metrics_server_version }}"
|
metrics_server_image_tag: "{{ metrics_server_version }}"
|
||||||
local_volume_provisioner_image_repo: "{{ kube_image_repo }}/sig-storage/local-volume-provisioner"
|
local_volume_provisioner_image_repo: "{{ kube_image_repo }}/sig-storage/local-volume-provisioner"
|
||||||
|
|
|
@ -10,9 +10,7 @@ rules:
|
||||||
resources:
|
resources:
|
||||||
- pods
|
- pods
|
||||||
- nodes
|
- nodes
|
||||||
- nodes/stats
|
- nodes/metrics
|
||||||
- namespaces
|
|
||||||
- configmaps
|
|
||||||
verbs:
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
|
|
Loading…
Reference in a new issue