apiVersion: v1
kind: Service
metadata:
  labels:
    app.kubernetes.io/component: storage
    app.kubernetes.io/managed-by: cdi-operator
    cdi.kubevirt.io: ""
    prometheus.cdi.kubevirt.io: "true"
  name: cdi-prometheus-metrics
  namespace: "{{ namespace }}"
spec:
  ports:
    - name: metrics
      port: 8080
      protocol: TCP
      targetPort: metrics
  selector:
    prometheus.cdi.kubevirt.io: "true"
  sessionAffinity: None
  type: ClusterIP