Files from python version needed from testing.
[ric-plt/a1.git] / integration_tests / a1mediator / templates / tests / test-connection.yaml
diff --git a/integration_tests/a1mediator/templates/tests/test-connection.yaml b/integration_tests/a1mediator/templates/tests/test-connection.yaml
new file mode 100644 (file)
index 0000000..ca68368
--- /dev/null
@@ -0,0 +1,15 @@
+apiVersion: v1
+kind: Pod
+metadata:
+  name: "{{ include "a1mediator.fullname" . }}-test-connection"
+  labels:
+{{ include "a1mediator.labels" . | indent 4 }}
+  annotations:
+    "helm.sh/hook": test-success
+spec:
+  containers:
+    - name: wget
+      image: busybox
+      command: ['wget']
+      args:  ['{{ include "a1mediator.fullname" . }}:{{ .Values.httpservice.port }}']
+  restartPolicy: Never