Outbound Connector Configuration by Environment Variables

Hi, Im trying out new Rest connector in the Platform 8 cloud version. Id like to have a dev and a production cluster. For external service endpoints, there are separate hosts/endpoints for test versus production environments, eg service.com/api and dev.service.com/api

Hence Id like to have a single process model where the connectors pickup the endpoint config from the runtime cluster environment. Current options which come to mind…

Have two separate models with the different config.
User secrets to store the different endpoints.
Other?

So Im looking for best practice or elegant way to do this…

regards

Rob

Hi Rob, we would recommend to use secrets for now. Thats currently the closest concept to environment variables until they are supported by the runtime.