aboutsummaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml')
-rw-r--r--vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml b/vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml
new file mode 100644
index 00000000..6c37f312
--- /dev/null
+++ b/vnfs/DAaaS/microservices/visualization-operator/deploy/operator.yaml
@@ -0,0 +1,33 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: visualization-operator
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ name: visualization-operator
+ template:
+ metadata:
+ labels:
+ name: visualization-operator
+ spec:
+ serviceAccountName: visualization-operator
+ containers:
+ - name: visualization-operator
+ # Replace this with the built image name
+ image: REPLACE_IMAGE
+ command:
+ - visualization-operator
+ imagePullPolicy: Always
+ env:
+ - name: WATCH_NAMESPACE
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.namespace
+ - name: POD_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: metadata.name
+ - name: OPERATOR_NAME
+ value: "visualization-operator"