mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/kube-state-metrics] allow for namespace flag to be configured (#3595)
* [stable/kube-state-metrics] allow for namespace flag to be configured * add newline to file
This commit is contained in:
committed by
k8s-ci-robot
parent
089ace589b
commit
5a16f0d6d5
@@ -5,7 +5,7 @@ keywords:
|
||||
- metric
|
||||
- monitoring
|
||||
- prometheus
|
||||
version: 0.5.2
|
||||
version: 0.5.3
|
||||
appVersion: 1.1.0
|
||||
home: https://github.com/kubernetes/kube-state-metrics/
|
||||
sources:
|
||||
|
||||
@@ -62,6 +62,9 @@ spec:
|
||||
{{ if .Values.collectors.persistentvolumeclaims }}
|
||||
- --collectors=persistentvolumeclaims
|
||||
{{ end }}
|
||||
{{ if .Values.namespace }}
|
||||
- --namespace={{ .Values.namespace }}
|
||||
{{ end }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
ports:
|
||||
|
||||
@@ -39,3 +39,6 @@ collectors:
|
||||
cronjobs: true
|
||||
statefulsets: true
|
||||
persistentvolumeclaims: true
|
||||
|
||||
# Namespace to be enabled for collecting resources. By default all namespaces are collected.
|
||||
# namespace: ""
|
||||
|
||||
Reference in New Issue
Block a user