"...v0.0.7/charts/exporter-coredns/jmayer/system-charts" did not exist on "4839966f624c3f9828fcd3394e1c9aab08945ea4"
endpoints.yaml 500 Bytes
Newer Older
GGGitBoy's avatar
GGGitBoy committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
{{- if .Values.endpoints }}
apiVersion: v1
kind: Endpoints
metadata:
  labels:
    app: {{ template "app.name" . }}
    chart: {{ template "app.version" . }}
    heritage: {{ .Release.Service }}
    release: {{ .Release.Name }}
  name: expose-coredns-metrics
subsets:
- addresses:
  {{- range .Values.endpoints }}
  - ip: {{ . }}
  {{- end }}
  ports:
  - name: {{ .Values.ports.metrics.name }}
    port: {{ .Values.ports.metrics.port }}
    protocol: {{ .Values.ports.metrics.protocol }}
{{- end }}