Skip to content

Interop-switch is no pre-fixing the ml-adapter end-point in Config #66

@mdebarros

Description

@mdebarros

Scenario

Interop-switch is no pre-fixing the ml-adapter end-point in Config

Issue

Running a helm install command with --name=pi33
$ helm install --namespace=mojatest --name=pi33 --repo=http://mojaloop.io/helm/repo --version 2.4.0 -f ./values-test-harness.yaml mojaloop

This will generate the following configMap/pi33-interop-switch:

CENTRAL_DIR_HOST: pi33-centraldirectory
CENTRAL_DIR_PORT: 3000
CONNECTOR_HOST: pi33-interop-connector
ML_API_ADAPTER_HOST: ml-api-adapter
ML_API_ADAPTER_PORT: 8088
PSQL_DATABASE: interop_switch
PSQL_HOST: pi33-interop-switch-postgresql
PSQL_PORT: 5432
SWITCH_SERVICE_HOST: 0.0.0.0
SWITCH_SERVICE_PORT: 8088

Where the ML_API_ADAPTER_HOST is missing the pi33 prefix.

Fix

Update the configMap/pi33-interop-switch mapping to correctly add the name prefix during helm install.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions