Update license references
[nonrtric.git] / test / simulator-group / sdnc / 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: $SDNC_APP_NAME
22   namespace: $KUBE_SDNC_NAMESPACE
23   labels:
24     run: $SDNC_APP_NAME
25     autotest: SDNC
26 spec:
27   type: ClusterIP
28   ports:
29   - port: $SDNC_EXTERNAL_PORT
30     targetPort: $SDNC_INTERNAL_PORT
31     protocol: TCP
32     name: http
33   - port: $SDNC_EXTERNAL_SECURE_PORT
34     targetPort: $SDNC_INTERNAL_SECURE_PORT
35     protocol: TCP
36     name: https
37   selector:
38     run: $SDNC_APP_NAME
39 ---
40 apiVersion: v1
41 kind: Service
42 metadata:
43   name: dbhost
44   namespace: $KUBE_SDNC_NAMESPACE
45   labels:
46     run: $SDNC_DB_APP_NAME
47     autotest: SDNC
48 spec:
49   type: ClusterIP
50   ports:
51   - port: 3306
52     targetPort: 3306
53     protocol: TCP
54     name: http
55   selector:
56     run: $SDNC_DB_APP_NAME
57 ---
58 apiVersion: v1
59 kind: Service
60 metadata:
61   name: sdnctldb01
62   namespace: $KUBE_SDNC_NAMESPACE
63   labels:
64     run: $SDNC_DB_APP_NAME
65     autotest: SDNC
66 spec:
67   type: ClusterIP
68   ports:
69   - port: 3306
70     targetPort: 3306
71     protocol: TCP
72     name: http
73   selector:
74     run: $SDNC_DB_APP_NAME