blob: 61dc5de8bf812a9128ac1f3ca634f324aec2dc38 [file] [log] [blame]
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +01001apiVersion: v1
2kind: Service
3metadata:
4 name: $CONTROL_PANEL_APP_NAME
5 namespace: $KUBE_NONRTRIC_NAMESPACE
6 labels:
7 run: $CONTROL_PANEL_APP_NAME
8 autotest: CP
9spec:
BjornMagnussonXA483ee332021-04-08 01:35:24 +020010 type: NodePort
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010011 ports:
12 - port: $CONTROL_PANEL_EXTERNAL_PORT
13 targetPort: $CONTROL_PANEL_INTERNAL_PORT
14 protocol: TCP
15 name: http
BjornMagnussonXA483ee332021-04-08 01:35:24 +020016 nodePort:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010017 - port: $CONTROL_PANEL_EXTERNAL_SECURE_PORT
18 targetPort: $CONTROL_PANEL_INTERNAL_SECURE_PORT
19 protocol: TCP
20 name: https
BjornMagnussonXA483ee332021-04-08 01:35:24 +020021 nodePort:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010022 selector:
23 run: $CONTROL_PANEL_APP_NAME