From a3ba0d0b8b048a952b47b032a779193fecb987ba Mon Sep 17 00:00:00 2001 From: yellowhat <1692490+yellowhat@users.noreply.github.com> Date: Tue, 27 May 2025 14:27:55 +0000 Subject: [PATCH] Remove deprecated extensions apiGroups Signed-off-by: yellowhat <1692490+yellowhat@users.noreply.github.com> --- charts/kube-state-metrics/Chart.yaml | 2 +- charts/kube-state-metrics/templates/role.yaml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/kube-state-metrics/Chart.yaml b/charts/kube-state-metrics/Chart.yaml index 423c7f576a95..9616ca6d061d 100644 --- a/charts/kube-state-metrics/Chart.yaml +++ b/charts/kube-state-metrics/Chart.yaml @@ -7,7 +7,7 @@ keywords: - prometheus - kubernetes type: application -version: 5.33.2 +version: 5.33.3 # renovate: github-releases=kubernetes/kube-state-metrics appVersion: 2.15.0 home: https://github.com/kubernetes/kube-state-metrics/ diff --git a/charts/kube-state-metrics/templates/role.yaml b/charts/kube-state-metrics/templates/role.yaml index ff7ea1b4c153..4b6537b1b874 100644 --- a/charts/kube-state-metrics/templates/role.yaml +++ b/charts/kube-state-metrics/templates/role.yaml @@ -34,13 +34,13 @@ rules: verbs: ["list", "watch"] {{ end -}} {{ if has "daemonsets" $.Values.collectors }} -- apiGroups: ["extensions", "apps"] +- apiGroups: ["apps"] resources: - daemonsets verbs: ["list", "watch"] {{ end -}} {{ if has "deployments" $.Values.collectors }} -- apiGroups: ["extensions", "apps"] +- apiGroups: ["apps"] resources: - deployments verbs: ["list", "watch"] @@ -64,7 +64,7 @@ rules: verbs: ["list", "watch"] {{ end -}} {{ if has "ingresses" $.Values.collectors }} -- apiGroups: ["extensions", "networking.k8s.io"] +- apiGroups: ["networking.k8s.io"] resources: - ingresses verbs: ["list", "watch"] @@ -160,7 +160,7 @@ rules: verbs: ["list", "watch"] {{ end -}} {{ if has "replicasets" $.Values.collectors }} -- apiGroups: ["extensions", "apps"] +- apiGroups: ["apps"] resources: - replicasets verbs: ["list", "watch"]