X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=a1mediator%2Ftemplates%2Fservice.yaml;fp=a1mediator%2Ftemplates%2Fservice.yaml;h=3321aa61e45f50d15dce33173858afc1e3b4d2d7;hb=e530c9a02789f83907e3044ae467711b7d5de863;hp=fc67fc16a47a6bca6a20dc708d6a8e0e52dad679;hpb=18dcbc384a55e30e357b3c94d5e48a65e7a0badb;p=ric-plt%2Fa1.git diff --git a/a1mediator/templates/service.yaml b/a1mediator/templates/service.yaml index fc67fc1..3321aa6 100644 --- a/a1mediator/templates/service.yaml +++ b/a1mediator/templates/service.yaml @@ -1,3 +1,4 @@ +# This is the service for A1's external facing HTTP API apiVersion: v1 kind: Service metadata: @@ -17,7 +18,7 @@ spec: app.kubernetes.io/instance: {{ .Release.Name }} --- - +# This is the service for rmr between A1 and the xapps apiVersion: v1 kind: Service metadata: @@ -34,3 +35,22 @@ spec: selector: app.kubernetes.io/name: {{ include "a1mediator.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} + +--- +# This is the service for the "hidden" port 4561 that rmr listens on for route manager +apiVersion: v1 +kind: Service +metadata: + name: {{ .Values.rmrrtemgrservice.name }} + labels: +{{ include "a1mediator.labels" . | indent 4 }} + +spec: + type: {{ .Values.rmrrtemgrservice.type }} + ports: + - port: {{ .Values.rmrrtemgrservice.port }} + targetPort: {{ .Values.rmrrtemgrservice.port }} + protocol: TCP + selector: + app.kubernetes.io/name: {{ include "a1mediator.name" . }} + app.kubernetes.io/instance: {{ .Release.Name }}