blob: 85a4682e0d9e9a16ba9e9fb745d7d5f338f1eddb [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:
10 type: ClusterIP
11 ports:
12 - port: $CONTROL_PANEL_EXTERNAL_PORT
13 targetPort: $CONTROL_PANEL_INTERNAL_PORT
14 protocol: TCP
15 name: http
16 - port: $CONTROL_PANEL_EXTERNAL_SECURE_PORT
17 targetPort: $CONTROL_PANEL_INTERNAL_SECURE_PORT
18 protocol: TCP
19 name: https
20 selector:
21 run: $CONTROL_PANEL_APP_NAME