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