Skip to content

Commit 40bf333

Browse files
authored
Merge pull request #8979 from chrischdi/pr-bump-ksm-2.9.2
✨ hack/observability bump kube-state-metrics chart to get version v2.9.2
2 parents ad110b5 + 6998a81 commit 40bf333

File tree

2 files changed

+9
-41
lines changed

2 files changed

+9
-41
lines changed

hack/observability/kube-state-metrics/chart/kustomization.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ helmCharts:
44
namespace: observability
55
releaseName: kube-state-metrics
66
valuesFile: values.yaml
7-
version: 5.6.4
7+
version: 5.8.1
88

99
helmGlobals:
1010
# Store chart in ".charts" folder instead of "charts".

hack/observability/kube-state-metrics/chart/values.yaml

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ extraArgs:
1313

1414
rbac:
1515
extraRules:
16+
- apiGroups:
17+
- apiextensions.k8s.io
18+
resources:
19+
- customresourcedefinitions
20+
verbs:
21+
- get
22+
- list
23+
- watch
1624
- apiGroups:
1725
- cluster.x-k8s.io
1826
resources:
@@ -43,43 +51,3 @@ rbac:
4351
- get
4452
- list
4553
- watch
46-
47-
collectors:
48-
# CAPI CRs
49-
- clusterclasses
50-
- clusters
51-
- machinedeployments
52-
- machinesets
53-
- machines
54-
- machinehealthchecks
55-
- kubeadmcontrolplanes
56-
- kubeadmconfigs
57-
# We need to define all default collectors too, otherwise the helm chart does not include this resources in rbac
58-
- certificatesigningrequests
59-
- configmaps
60-
- cronjobs
61-
- daemonsets
62-
- deployments
63-
- endpoints
64-
- horizontalpodautoscalers
65-
- ingresses
66-
- jobs
67-
- limitranges
68-
- mutatingwebhookconfigurations
69-
- namespaces
70-
- networkpolicies
71-
- nodes
72-
- persistentvolumeclaims
73-
- persistentvolumes
74-
- poddisruptionbudgets
75-
- pods
76-
- replicasets
77-
- replicationcontrollers
78-
- resourcequotas
79-
- secrets
80-
- services
81-
- statefulsets
82-
- storageclasses
83-
- validatingwebhookconfigurations
84-
- volumeattachments
85-
# - verticalpodautoscalers # not a default resource, see also: https://github.com/kubernetes/kube-state-metrics#enabling-verticalpodautoscalers

0 commit comments

Comments
 (0)