robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / tenantnetwork-attach-pod9 / templates / tennet_pod_09_02.yaml
diff --git a/resources/test_charts/tenantnetwork-attach-pod9/templates/tennet_pod_09_02.yaml b/resources/test_charts/tenantnetwork-attach-pod9/templates/tennet_pod_09_02.yaml
new file mode 100644 (file)
index 0000000..9c20aa2
--- /dev/null
@@ -0,0 +1,29 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: tennet-pod-09-02
+  namespace: default
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: alpine
+  template:
+    metadata:
+      labels:
+        name: tennet-pod-09
+        app: alpine
+      annotations:
+        danm.k8s.io/interfaces: |
+          [
+            {
+              "tenantNetwork":"tennet-attach-04", "ip":"dynamic"
+            }
+          ]
+    spec:
+      containers:
+      - name: alpine
+        image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
+        imagePullPolicy: IfNotPresent
+        command: ["/usr/bin/dumb-init", "-c", "sh", "-c", "--"]
+        args: ["echo -e 'HTTP/1.0 200 OK \n\nOK'>/tmp/temp; nc -l -p 4141 < /tmp/temp; sleep 6000"]