Open kvmw opened 4 days ago
I could have swore there was an issue around this already...but I can't seem to find it.
I seem to remember looking into something similar a while back and discovering that Vault wasn't supported by composite environment repositories (or some properties in the configuration were not supported). I can't seem to find the issue though.
Probably need to debug here to start https://github.com/spring-cloud/spring-cloud-config/blob/4841d800951a52aba4add1e856bdf7a6e7421291/spring-cloud-config-server/src/main/java/org/springframework/cloud/config/server/composite/CompositeEnvironmentBeanFactoryPostProcessor.java#L51
Let me know if you have time to take a look. If not I will put it on my list
@ryanjbaxter I'll take a look and try to find a fix.
Describe the bug Any
vault
configuration incomposite
profile is ignored and instead default values are used.Given following configuration for config-server:
When executing
curl -H "X-Config-Token: token" localhost:8888/cook/default
config-server should call vault athttp://my-vault-server:5555
but instead it callshttp://127.0.0.1:8200
.Sample log
NOTE: the behaviour is correct when using
vault
profile, instead ofcomposite
.