X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test_scripts%2Fsubscription%2Ftest-subscription-helmchart-1.0.3%2Ftemplates%2Fservice.yaml;fp=test_scripts%2Fsubscription%2Ftest-subscription-helmchart-1.0.3%2Ftemplates%2Fservice.yaml;h=49d51ca0f9a7e15f3fd08d02aeab24152f905b29;hb=c5fa07bcd8cbd614bcd813cac698385b789bcfcb;hp=0000000000000000000000000000000000000000;hpb=59f84608ec15c016958a6e0e0ddd813f376c0925;p=it%2Ftest.git diff --git a/test_scripts/subscription/test-subscription-helmchart-1.0.3/templates/service.yaml b/test_scripts/subscription/test-subscription-helmchart-1.0.3/templates/service.yaml new file mode 100755 index 0000000..49d51ca --- /dev/null +++ b/test_scripts/subscription/test-subscription-helmchart-1.0.3/templates/service.yaml @@ -0,0 +1,28 @@ +apiVersion: v1 +kind: Service +metadata: + name: adm-ctrl-xapp + labels: + app: adm-ctrl-xapp + #app.kubernetes.io/instance: {{ .Release.Name }} + #app.kubernetes.io/name: {{ include "adm-ctrl-xapp.name" . }} + #helm.sh/chart: {{ include "adm-ctrl-xapp.chart" . }} + #app.kubernetes.io/managed-by: {{ .Release.Service }} +spec: + type: {{ .Values.service.type }} + #clusterIP: None + ports: + - name : xapp-port + port: {{ .Values.service.xapp_port }} + targetPort: {{ .Values.service.xapp_port }} + protocol: TCP + + - name : rmr-port + port: {{ .Values.service.rmr_port }} + targetPort: {{ .Values.service.rmr_port }} + protocol: TCP + + selector: + app: adm-ctrl-xapp + #app.kubernetes.io/name: {{ include "adm-ctrl-xapp.name" . }} + #app.kubernetes.io/instance: {{ .Release.Name }}