61dc5de8bf812a9128ac1f3ca634f324aec2dc38
[nonrtric.git] / test / simulator-group / control_panel / svc.yaml
1 apiVersion: v1
2 kind: Service
3 metadata:
4   name: $CONTROL_PANEL_APP_NAME
5   namespace: $KUBE_NONRTRIC_NAMESPACE
6   labels:
7     run: $CONTROL_PANEL_APP_NAME
8     autotest: CP
9 spec:
10   type: NodePort
11   ports:
12   - port: $CONTROL_PANEL_EXTERNAL_PORT
13     targetPort: $CONTROL_PANEL_INTERNAL_PORT
14     protocol: TCP
15     name: http
16     nodePort:
17   - port: $CONTROL_PANEL_EXTERNAL_SECURE_PORT
18     targetPort: $CONTROL_PANEL_INTERNAL_SECURE_PORT
19     protocol: TCP
20     name: https
21     nodePort:
22   selector:
23     run: $CONTROL_PANEL_APP_NAME