Skip to content

Commit 5178b31

Browse files
authored
[kube-state-metrics] Remove deprecated extensions apiGroups (#5688)
Signed-off-by: yellowhat <[email protected]>
1 parent 703b84d commit 5178b31

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/kube-state-metrics/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
- prometheus
88
- kubernetes
99
type: application
10-
version: 5.34.0
10+
version: 5.34.1
1111
# renovate: github-releases=kubernetes/kube-state-metrics
1212
appVersion: 2.15.0
1313
home: https://github.com/kubernetes/kube-state-metrics/

charts/kube-state-metrics/templates/role.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ rules:
3434
verbs: ["list", "watch"]
3535
{{ end -}}
3636
{{ if has "daemonsets" $.Values.collectors }}
37-
- apiGroups: ["extensions", "apps"]
37+
- apiGroups: ["apps"]
3838
resources:
3939
- daemonsets
4040
verbs: ["list", "watch"]
4141
{{ end -}}
4242
{{ if has "deployments" $.Values.collectors }}
43-
- apiGroups: ["extensions", "apps"]
43+
- apiGroups: ["apps"]
4444
resources:
4545
- deployments
4646
verbs: ["list", "watch"]
@@ -64,7 +64,7 @@ rules:
6464
verbs: ["list", "watch"]
6565
{{ end -}}
6666
{{ if has "ingresses" $.Values.collectors }}
67-
- apiGroups: ["extensions", "networking.k8s.io"]
67+
- apiGroups: ["networking.k8s.io"]
6868
resources:
6969
- ingresses
7070
verbs: ["list", "watch"]
@@ -160,7 +160,7 @@ rules:
160160
verbs: ["list", "watch"]
161161
{{ end -}}
162162
{{ if has "replicasets" $.Values.collectors }}
163-
- apiGroups: ["extensions", "apps"]
163+
- apiGroups: ["apps"]
164164
resources:
165165
- replicasets
166166
verbs: ["list", "watch"]

0 commit comments

Comments
 (0)