We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My spring cloud config client has multiple spring.application.name to get differents property files with GIT but Vault is not working like GIT.
application.properties of my server :
spring.config.name=configserver server.port=8188 spring.profiles.active=git,vault spring.cloud.config.server.git.uri=https://.../config.git spring.cloud.config.server.git.username=config spring.cloud.config.server.git.password=************* spring.cloud.config.server.git.clone-on-start=true management.endpoints.web.exposure.include=* spring.cloud.config.server.vault.port=8200 spring.cloud.config.server.vault.host=120.0.0.1 spring.cloud.config.server.vault.profileSeparator=/
bootstrap.properties of my client :
spring.application.name=application1,application2 spring.profiles.active=next spring.cloud.config.uri=http://localhost:8188 spring.cloud.config.token=********
With this configuration, I am able to load with GIT my 2 property files application1-next.yml and application2-next.yml.
Sadly Vault is not working like I was expected : load values from the 2 paths
application1/next/ application2/next
It is looking for keys in the single path
application1,application2/next
Does anyone have a solution about this ? or maybe I miss something...
The text was updated successfully, but these errors were encountered:
support multiple spring application names for Vault Fixes gh-1356
04e1d22
support multiple spring application names for Vault Fixes gh-1356 (#1379
dc1992e
)
e5f9cd0
Successfully merging a pull request may close this issue.
My spring cloud config client has multiple spring.application.name to get differents property files with GIT but Vault is not working like GIT.
application.properties of my server :
bootstrap.properties of my client :
With this configuration, I am able to load with GIT my 2 property files application1-next.yml and application2-next.yml.
Sadly Vault is not working like I was expected : load values from the 2 paths
It is looking for keys in the single path
Does anyone have a solution about this ? or maybe I miss something...
The text was updated successfully, but these errors were encountered: