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