Skip to content

Commit

Permalink
Merge pull request #8979 from chrischdi/pr-bump-ksm-2.9.2
Browse files Browse the repository at this point in the history
✨ hack/observability bump kube-state-metrics chart to get version v2.9.2
  • Loading branch information
k8s-ci-robot authored Jul 7, 2023
2 parents ad110b5 + 6998a81 commit 40bf333
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ helmCharts:
namespace: observability
releaseName: kube-state-metrics
valuesFile: values.yaml
version: 5.6.4
version: 5.8.1

helmGlobals:
# Store chart in ".charts" folder instead of "charts".
Expand Down
48 changes: 8 additions & 40 deletions hack/observability/kube-state-metrics/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ extraArgs:

rbac:
extraRules:
- apiGroups:
- apiextensions.k8s.io
resources:
- customresourcedefinitions
verbs:
- get
- list
- watch
- apiGroups:
- cluster.x-k8s.io
resources:
Expand Down Expand Up @@ -43,43 +51,3 @@ rbac:
- get
- list
- watch

collectors:
# CAPI CRs
- clusterclasses
- clusters
- machinedeployments
- machinesets
- machines
- machinehealthchecks
- kubeadmcontrolplanes
- kubeadmconfigs
# We need to define all default collectors too, otherwise the helm chart does not include this resources in rbac
- certificatesigningrequests
- configmaps
- cronjobs
- daemonsets
- deployments
- endpoints
- horizontalpodautoscalers
- ingresses
- jobs
- limitranges
- mutatingwebhookconfigurations
- namespaces
- networkpolicies
- nodes
- persistentvolumeclaims
- persistentvolumes
- poddisruptionbudgets
- pods
- replicasets
- replicationcontrollers
- resourcequotas
- secrets
- services
- statefulsets
- storageclasses
- validatingwebhookconfigurations
- volumeattachments
# - verticalpodautoscalers # not a default resource, see also: https://github.com/kubernetes/kube-state-metrics#enabling-verticalpodautoscalers

0 comments on commit 40bf333

Please sign in to comment.