Upgraded test env with Kubernetes support
Issue-ID: NONRTRIC-356
Signed-off-by: BjornMagnussonXA <bjorn.magnusson@est.tech>
Change-Id: I942b37c05077b3ba753b3327455d6babed8f6061
diff --git a/test/simulator-group/policy_agent/svc.yaml b/test/simulator-group/policy_agent/svc.yaml
new file mode 100644
index 0000000..0a9eca9
--- /dev/null
+++ b/test/simulator-group/policy_agent/svc.yaml
@@ -0,0 +1,21 @@
+apiVersion: v1
+kind: Service
+metadata:
+ name: $POLICY_AGENT_APP_NAME
+ namespace: $KUBE_NONRTRIC_NAMESPACE
+ labels:
+ run: $POLICY_AGENT_APP_NAME
+ autotest: PA
+spec:
+ type: ClusterIP
+ ports:
+ - port: $POLICY_AGENT_EXTERNAL_PORT
+ targetPort: $POLICY_AGENT_INTERNAL_PORT
+ protocol: TCP
+ name: http
+ - port: $POLICY_AGENT_EXTERNAL_SECURE_PORT
+ targetPort: $POLICY_AGENT_INTERNAL_SECURE_PORT
+ protocol: TCP
+ name: https
+ selector:
+ run: $POLICY_AGENT_APP_NAME
\ No newline at end of file