Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Spring Cloud Config Server on local OpenShift - how to retrieve external properties file
posted 2 months ago
I have created a Spring Boot Config Server application which retrieves a config file in a GitHub repo.
When I run the config server locally, the
endpoint correctly retrieves and displays the application.yml config file from the external GitHub repo.
I deployed the config server to my local OpenShift:
oc new-app registry.access.redhat.com/redhat-openjdk-18/openjdk18-openshift~https://github.com/Lylio/Spring-Cloud-Config-Server.git --name=config-server
Then, I created a route and added that to my hosts file:
Perhaps I need to configure the port in OpenShift but I'm not entirely sure and would appreciate some troubleshooting guidance. Thanks.
What I don't understand is how they changed the earth's orbit to fit the metric calendar. Tiny ad:
Thread Boost feature
Boost this thread!
How do you prefer to configure Spring Boot configurations?
JPA data access with REST API
How to access to in-memory HSQL db in Spring boot app?
Spring Boot Integration
Spring Boot for bootstrapping a component of a larger application