github.com/verrazzano/verrazzano@v1.7.0/platform-operator/thirdparty/charts/prometheus-community/prometheus-node-exporter/templates/endpoints.yaml (about)

     1  {{- if .Values.endpoints }}
     2  apiVersion: v1
     3  kind: Endpoints
     4  metadata:
     5    name: {{ include "prometheus-node-exporter.fullname" . }}
     6    namespace: {{ include "prometheus-node-exporter.namespace" . }}
     7    labels:
     8      {{- include "prometheus-node-exporter.labels" . | nindent 4 }}
     9  subsets:
    10    - addresses:
    11        {{- range .Values.endpoints }}
    12        - ip: {{ . }}
    13        {{- end }}
    14      ports:
    15        - name: {{ .Values.service.portName }}
    16          port: 9100
    17          protocol: TCP
    18  {{- end }}