mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [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>
19 lines
451 B
YAML
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 }}
|