Update license references
[nonrtric.git] / test / simulator-group / dmaapmr / svc.yaml
1 #  ============LICENSE_START=======================================================
2 #  Copyright (C) 2020-2022 Nordix Foundation
3 #  ================================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #        http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #
16 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18 apiVersion: v1
19 kind: Service
20 metadata:
21   name: $MR_ZOOKEEPER_APP_NAME
22   namespace: $KUBE_ONAP_NAMESPACE
23   labels:
24     run: $MR_ZOOKEEPER_APP_NAME
25     autotest: DMAAPMR
26 spec:
27   type: ClusterIP
28   ports:
29   - port: $MR_ZOOKEEPER_PORT
30     targetPort: $MR_ZOOKEEPER_PORT
31     protocol: TCP
32     name: http
33   selector:
34     run: $MR_ZOOKEEPER_APP_NAME
35 ---
36 apiVersion: v1
37 kind: Service
38 metadata:
39   name: $MR_KAFKA_APP_NAME
40   namespace: $KUBE_ONAP_NAMESPACE
41   labels:
42     run: $MR_KAFKA_APP_NAME
43     autotest: DMAAPMR
44 spec:
45   type: NodePort
46   ports:
47   - port: $MR_KAFKA_PORT
48     targetPort: $MR_KAFKA_PORT
49     protocol: TCP
50     name: http
51   - port: $MR_KAFKA_KUBE_NODE_PORT
52     targetPort: $MR_KAFKA_KUBE_NODE_PORT
53     protocol: TCP
54     name: http-external
55     nodePort: $MR_KAFKA_KUBE_NODE_PORT
56   selector:
57     run: $MR_KAFKA_APP_NAME
58 ---
59 apiVersion: v1
60 kind: Service
61 metadata:
62   name: $MR_DMAAP_APP_NAME
63   namespace: $KUBE_ONAP_NAMESPACE
64   labels:
65     run: $MR_DMAAP_APP_NAME
66     autotest: DMAAPMR
67 spec:
68   type: ClusterIP
69   ports:
70   - port: $MR_EXTERNAL_PORT
71     targetPort: $MR_INTERNAL_PORT
72     protocol: TCP
73     name: http
74   - port: $MR_EXTERNAL_SECURE_PORT
75     targetPort: $MR_INTERNAL_SECURE_PORT
76     protocol: TCP
77     name: https
78   selector:
79     run: $MR_DMAAP_APP_NAME
80
81