I have a Spring Boot application 3.1.3 using two yml profiles
application.yml
application-prod.yml
The problem is that when I start the application using the prod profile, it is not overwriting this application.yml property with this property.
application properties
---
spring:
profiles:
active: prod
cloud.config:
label: main
uri: https://config-server-main
It continues to use this application.yml property
cloud.config:
label: qa
uri: https://config-server-qa
What is the correct way to overwrite?