Merge "Merge branch 'development'"
[ric-plt/a1.git] / integration_tests / testreceiver / templates / service.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: {{ .Values.testrmrservice.name }}
5   labels:
6 {{ include "testreceiver.labels" . | indent 4 }}
7 spec:
8   type: {{ .Values.testrmrservice.type }}
9   ports:
10     - port: {{ .Values.testrmrservice.port }}
11       targetPort: {{ .Values.testrmrservice.port }}
12       protocol: TCP
13   selector:
14     app.kubernetes.io/name: {{ include "testreceiver.name" . }}
15     app.kubernetes.io/instance: {{ .Release.Name }}
16
17 ---
18
19 apiVersion: v1
20 kind: Service
21 metadata:
22   name: {{ .Values.delayrmrservice.name }}
23   labels:
24 {{ include "testreceiver.labels" . | indent 4 }}
25 spec:
26   type: {{ .Values.delayrmrservice.type }}
27   ports:
28     - port: {{ .Values.delayrmrservice.port }}
29       targetPort: {{ .Values.delayrmrservice.port }}
30       protocol: TCP
31   selector:
32     app.kubernetes.io/name: {{ include "testreceiver.name" . }}
33     app.kubernetes.io/instance: {{ .Release.Name }}