[kube-prometheus-stack] Add matchLabel to prevent duplicate kubelet targets (#860)

* [kube-prometheus-stack] Add matchLabel to prevent duplicate kubelet targets

Fixes #614

Signed-off-by: [CODE] Sven Schliesing <s.schliesing@tagesschau.de>

* [kube-prometheus-stack] Bump version

Signed-off-by: [CODE] Sven Schliesing <s.schliesing@tagesschau.de>

Co-authored-by: André Bauer <monotek@users.noreply.github.com>
This commit is contained in:
Sven Schliesing
2021-04-25 22:18:01 -07:00
committed by GitHub
co-authored by André Bauer
parent 5f760a0645
commit a3d5fc0052
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ name: kube-prometheus-stack
sources:
- https://github.com/prometheus-community/helm-charts
- https://github.com/prometheus-operator/kube-prometheus
version: 15.2.0
version: 15.2.1
appVersion: 0.47.0
kubeVersion: ">=1.16.0-0"
home: https://github.com/prometheus-operator/kube-prometheus
@@ -150,5 +150,6 @@ spec:
- {{ .Values.kubelet.namespace }}
selector:
matchLabels:
app.kubernetes.io/managed-by: prometheus-operator
k8s-app: kubelet
{{- end}}