Get Spring Cloud Config Server from PCF space using cfenv or another way

Viewed 28

Need some help. My team is externalizing env variables by using the "Spring Cloud Config Server" available on PCF.

I'm not sure how everything is hooked up. But what i know is that we have a bitbucket repo with a couple of .yaml files. These contain all our env variables. Somehow, this bitbucket repo is linked to the cloud config server on PCF.

There are a number of JAVA applications pulling from this config server by way of binding these applications to the config server.

I am trying to pull from the config server too using a nestjs application. I am already using the cfenv library to access credhub in my application. Can i do the same to access the config server? Or is there a better way.

0 Answers
Related