X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fsimulator-group%2Fdmaapmr%2Fsvc.yaml;h=c989bcaf1e9bafd39995668c8d7b5cc898b8113f;hb=2f3e40b4e4786b84cb70848fcdcfadd040ffda4a;hp=446c59da5a25cd7c491e17d20696f4e402c727cf;hpb=a28a4ad261601976c345425692116e5d7250b810;p=nonrtric.git diff --git a/test/simulator-group/dmaapmr/svc.yaml b/test/simulator-group/dmaapmr/svc.yaml index 446c59da..c989bcaf 100644 --- a/test/simulator-group/dmaapmr/svc.yaml +++ b/test/simulator-group/dmaapmr/svc.yaml @@ -1,3 +1,20 @@ +# ============LICENSE_START======================================================= +# Copyright (C) 2020-2022 Nordix Foundation +# ================================================================================ +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# SPDX-License-Identifier: Apache-2.0 +# ============LICENSE_END========================================================= apiVersion: v1 kind: Service metadata: @@ -25,12 +42,17 @@ metadata: run: $MR_KAFKA_APP_NAME autotest: DMAAPMR spec: - type: ClusterIP + type: NodePort ports: - port: $MR_KAFKA_PORT targetPort: $MR_KAFKA_PORT protocol: TCP name: http + - port: $MR_KAFKA_KUBE_NODE_PORT + targetPort: $MR_KAFKA_KUBE_NODE_PORT + protocol: TCP + name: http-external + nodePort: $MR_KAFKA_KUBE_NODE_PORT selector: run: $MR_KAFKA_APP_NAME ---