rancher-partner-charts/charts/citrix/citrix-adc-istio-ingress-ga.../templates/metrics-exporter-service.yaml

19 lines
528 B
YAML

{{- if eq .Values.metricExporter.required true }}
kind: Service
apiVersion: v1
metadata:
name: {{ template "generate-name" (list . (dict "suffixname" "citrix-exporter-svc")) }}
namespace: {{ .Release.Namespace }}
annotations:
labels:
service-type: citrix-adc-monitor
spec:
selector:
app: {{ .Values.ingressGateway.label | default "citrix-ingressgateway" }}
ports:
- name: exporter-port
port: {{ .Values.metricExporter.port }}
targetPort: {{ .Values.metricExporter.port }}
---
{{- end }}