Remove BPA from Makefile
[icn.git] / cmd / bpa-operator / deploy / operator.yaml
index 913c062..2170148 100644 (file)
@@ -12,14 +12,20 @@ spec:
       labels:
         name: bpa-operator
     spec:
+      hostNetwork: true
       serviceAccountName: bpa-operator
       containers:
         - name: bpa-operator
           # Replace this with the built image name
-          image: REPLACE_IMAGE
+          image: akraino.org/icn/bpa-operator:latest
+          imagePullPolicy: IfNotPresent
+          volumeMounts:
+          - name: icn-cluster
+            mountPath: /multi-cluster
           command:
-          - bpa-operator
-          imagePullPolicy: Always
+          - /bpa-operator
+          securityContext:
+            privileged: true
           env:
             - name: WATCH_NAMESPACE
               valueFrom:
@@ -31,3 +37,7 @@ spec:
                   fieldPath: metadata.name
             - name: OPERATOR_NAME
               value: "bpa-operator"
+      volumes:
+      - name: icn-cluster
+        hostPath:
+          path: /opt/kud/multi-cluster