blob: b86aeaf26b751f843829ddf3bfe21c2181c744d9 [file] [log] [blame]
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $NRT_GATEWAY_APP_NAME
5 namespace: $KUBE_NONRTRIC_NAMESPACE
6 labels:
7 run: $NRT_GATEWAY_APP_NAME
8 autotest: NGW
9spec:
10 type: ClusterIP
11 ports:
12 - port: $NRT_GATEWAY_EXTERNAL_PORT
13 targetPort: $NRT_GATEWAY_INTERNAL_PORT
14 protocol: TCP
15 name: http
16 - port: $NRT_GATEWAY_EXTERNAL_SECURE_PORT
17 targetPort: $NRT_GATEWAY_INTERNAL_SECURE_PORT
18 protocol: TCP
19 name: https
20 selector:
21 run: $NRT_GATEWAY_APP_NAME