Files
Alexander Katsyuba 90590531b8 Prometheus node exporter namespace override (#18982)
* [stable/prometheus-node-exporter] Override of namespace

Signed-off-by: Alexander Katsyuba <arruzk@gmail.com>

* [stable/prometheus-node-exporter] Fix notes.txt and ClusterRole

Signed-off-by: Alexander Katsyuba <arruzk@gmail.com>

* [stable/kube-state-metrics] Bump chart version

Signed-off-by: Alexander Katsyuba <arruzk@gmail.com>
2019-11-19 05:21:42 -08:00

19 lines
451 B
YAML

{{- if .Values.endpoints }}
apiVersion: v1
kind: Endpoints
metadata:
name: {{ template "prometheus-node-exporter.fullname" . }}
namespace: {{ template "prometheus-node-exporter.namespace" . }}
labels:
{{ include "prometheus-node-exporter.labels" . | indent 4 }}
subsets:
- addresses:
{{- range .Values.endpoints }}
- ip: {{ . }}
{{- end }}
ports:
- name: metrics
port: 9100
protocol: TCP
{{- end }}