blob: 61dc5de8bf812a9128ac1f3ca634f324aec2dc38 [file] [log] [blame]
apiVersion: v1
kind: Service
metadata:
name: $CONTROL_PANEL_APP_NAME
namespace: $KUBE_NONRTRIC_NAMESPACE
labels:
run: $CONTROL_PANEL_APP_NAME
autotest: CP
spec:
type: NodePort
ports:
- port: $CONTROL_PANEL_EXTERNAL_PORT
targetPort: $CONTROL_PANEL_INTERNAL_PORT
protocol: TCP
name: http
nodePort:
- port: $CONTROL_PANEL_EXTERNAL_SECURE_PORT
targetPort: $CONTROL_PANEL_INTERNAL_SECURE_PORT
protocol: TCP
name: https
nodePort:
selector:
run: $CONTROL_PANEL_APP_NAME