Integrated gateway and updated kube support
Restructured the test env to decouple the test engine from the components
Issue-ID: NONRTRIC-441
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I07c746741b1c5c964679545f0a12861e5e9f6292
diff --git a/test/simulator-group/kubeproxy/app.yaml b/test/simulator-group/kubeproxy/app.yaml
new file mode 100644
index 0000000..08241a3
--- /dev/null
+++ b/test/simulator-group/kubeproxy/app.yaml
@@ -0,0 +1,30 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: $KUBE_PROXY_APP_NAME
+ namespace: $KUBE_SIM_NAMESPACE
+ labels:
+ run: $KUBE_PROXY_APP_NAME
+ autotest: KUBEPROXY
+spec:
+ replicas: 1
+ selector:
+ matchLabels:
+ run: $KUBE_PROXY_APP_NAME
+ template:
+ metadata:
+ labels:
+ run: $KUBE_PROXY_APP_NAME
+ autotest: KUBEPROXY
+ spec:
+ containers:
+ - name: $KUBE_PROXY_APP_NAME
+ image: $KUBE_PROXY_IMAGE
+ imagePullPolicy: Never
+ ports:
+ - name: http
+ containerPort: $KUBE_PROXY_INTERNAL_PORT
+ - name: web
+ containerPort: $KUBE_PROXY_WEB_INTERNAL_PORT
+ command: ["mitmweb"]
+ args: ["--web-host", "0.0.0.0", "--no-web-open-browser", "-p", "$KUBE_PROXY_INTERNAL_PORT", "--set", "ssl_insecure"]