mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-01 06:10:17 +00:00
Since external metrics were added, we weren't running the HPA with metrics REST clients by default, so we had no bootstrap policy to enable the HPA controller to talk to the external metrics API. This change adds permissions for the HPA controller to list and get external.metrics.k8s.io by default as already done for the custom.metrics.k8s.io API. Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>