apiVersion: v1
kind: Service
metadata:
  name: {{ include "vector.fullname" . }}
  labels:
    {{- include "vector.labels" . | nindent 4 }}
spec:
  type: ClusterIP
  ports:
    - port: 4317
      targetPort: 4317
      protocol: TCP
      name: otlp-grpc
    - port: 4318
      targetPort: 4318
      protocol: TCP
      name: otlp-http
    - port: 8080
      targetPort: 8080
      protocol: TCP
      name: http
    - port: 8686
      targetPort: api
      protocol: TCP
      name: api
    - port: 9090
      targetPort: prom
      protocol: TCP
      name: prom
  selector:
    {{- include "vector.selectorLabels" . | nindent 4 }}
