apiVersion: apps/v1
kind: Deployment
metadata:
  name: cluster-network-addons-operator
  namespace: cluster-network-addons-operator
spec:
  replicas: 1
  selector:
    matchLabels:
      name: cluster-network-addons-operator
  template:
    metadata:
      labels:
        name: cluster-network-addons-operator
    spec:
      hostNetwork: true
      serviceAccountName: cluster-network-addons-operator
      containers:
      - name: cluster-network-addons-operator
        # Replace this with the built image name
        image: quay.io/kubevirt/cluster-network-addons-operator
        imagePullPolicy: Always
        resources:
          requests:
            cpu: 10m
            memory: 50Mi
        env:
        - name: MULTUS_IMAGE
          value: "docker.io/nfvpe/multus:latest"
        - name: LINUX_BRIDGE_IMAGE
          value: "quay.io/kubevirt/cni-default-plugins"
        - name: SRIOV_DP_IMAGE
          value: "quay.io/booxter/sriov-device-plugin:latest"
        - name: SRIOV_CNI_IMAGE
          value: "docker.io/nfvpe/sriov-cni:latest"
        - name: SRIOV_ROOT_DEVICES
          value: ""
        - name: KUBEMACPOOL_IMAGE
          value: "quay.io/schseba/mac-controller:latest"
        - name: WATCH_NAMESPACE
          value: ""
        - name: POD_NAME
          valueFrom:
            fieldRef:
              fieldPath: metadata.name
        - name: OPERATOR_NAME
          value: "cluster-network-addons-operator"
        - name: OPERATOR_NAMESPACE
          valueFrom:
            fieldRef:
              fieldPath: metadata.namespace
