Skip to content
New issue

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

Spring config import + config server #690

Open
HelenLorenzo opened this issue Jun 7, 2023 · 0 comments
Open

Spring config import + config server #690

HelenLorenzo opened this issue Jun 7, 2023 · 0 comments

Comments

@HelenLorenzo
Copy link

Describe the bug
When I take config from import configserver + vault, is not possible take the spring clouf vault configuration from the imported config server.

Sample
I have this configuration:
spring:
application:
name: app
profiles:
active:
- dev
config:
import:
- "optional:vault://kv/dev/apps/app"
- "optional:configserver:"

(Mandatory put spring.cloud.vault --> I dont know why)
spring.cloud:
vault:
host: vault-active-internal-sanes-seg-vault-pre.apps.ocp01.san.pre.weu1.azure.paas.cloudcenter.corp
port: 80
scheme: https
uri: https://vault-active-internal-sanes-seg-vault-pre.apps.ocp01.san.pre.weu1.azure.paas.cloudcenter.corp

 connection-timeout: 5000
 read-timeout: 15000   
 token: s.qUphJr9wlcs1oGxReFlKQyqY    

If, I have a different configuration in my configserver.yml from vault, this configuration is not taking into account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant