-
Bug
-
Resolution: Done
-
Major
-
None
The production and sit templates allow configuring the Smart Router port and protocol. This will be set to the Business Central Monitoring deployment config:
Business Central Monitoring Deployment config
- name: KIE_SERVER_ROUTER_SERVICE value: "${APPLICATION_NAME}-smartrouter" - name: KIE_SERVER_ROUTER_PORT value: "${KIE_SERVER_ROUTER_PORT}" - name: KIE_SERVER_ROUTER_PROTOCOL value: "${KIE_SERVER_ROUTER_PROTOCOL}"
If a user chooses a different value, the configuration won't work as only the port 9000 and HTTP protocol are exposed in the Smart Router's DeploymentConfig. They can't be changed.
Smart Router Deployment Config
ports: - name: http containerPort: 9000 protocol: TCP
Smart router is accessed by the service which is also configured to port 9000
Smart Router service
- kind: Service
apiVersion: v1
spec:
ports:
- port: 9000
targetPort: 9000
selector:
deploymentConfig: "${APPLICATION_NAME}-smartrouter"