Update license references
[nonrtric.git] / test / simulator-group / kubeproxy / 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: $KUBE_PROXY_APP_NAME
22   namespace: $KUBE_SIM_NAMESPACE
23   labels:
24     run: $KUBE_PROXY_APP_NAME
25     autotest: KUBEPROXY
26 spec:
27   type: LoadBalancer
28   ports:
29   - port: $KUBE_PROXY_EXTERNAL_PORT
30     targetPort: $KUBE_PROXY_INTERNAL_PORT
31     protocol: TCP
32     name: http
33     nodePort:
34   - port: $KUBE_PROXY_WEB_EXTERNAL_PORT
35     targetPort: $KUBE_PROXY_WEB_INTERNAL_PORT
36     protocol: TCP
37     name: web
38     nodePort:
39   - port: $KUBE_PROXY_EXTERNAL_SECURE_PORT
40     targetPort: $KUBE_PROXY_INTERNAL_SECURE_PORT
41     protocol: TCP
42     name: https
43     nodePort:
44   - port: $KUBE_PROXY_WEB_EXTERNAL_SECURE_PORT
45     targetPort: $KUBE_PROXY_WEB_INTERNAL_SECURE_PORT
46     protocol: TCP
47     name: webs
48     nodePort:
49   selector:
50     run: $KUBE_PROXY_APP_NAME