Fix spacing issues in YAML files in vnfs
[demo.git] / vnfs / DAaaS / deploy / collection / charts / prometheus-node-exporter / templates / endpoints.yaml
1 {{- if .Values.endpoints }}
2 apiVersion: v1
3 kind: Endpoints
4 metadata:
5   name: {{ template "prometheus-node-exporter.fullname" . }}
6   labels:
7 {{ include "prometheus-node-exporter.labels" . | indent 4 }}
8 subsets:
9   - addresses:
10       {{- range .Values.endpoints }}
11       - ip: {{ . }}
12       {{- end }}
13     ports:
14       - name: metrics
15         port: 9100
16         protocol: TCP
17 {{- end }}