Move integration tests to k8s
[ric-plt/a1.git] / integration_tests / testreceiver / templates / service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: {{ .Values.rmrservice.name }}
5   labels:
6 {{ include "testreceiver.labels" . | indent 4 }}
7 spec:
8   type: {{ .Values.rmrservice.type }}
9   ports:
10     - port: {{ .Values.rmrservice.port }}
11       targetPort: {{ .Values.rmrservice.port }}
12       protocol: TCP
13   selector:
14     app.kubernetes.io/name: {{ include "testreceiver.name" . }}
15     app.kubernetes.io/instance: {{ .Release.Name }}