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

Fixes the SpringVaultEnvironmentRepository issue with composite profile #2595

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

kvmw
Copy link
Contributor

@kvmw kvmw commented Oct 18, 2024

Fixes #2592

So the SpringVaultEnvironmentRepositoryFactory::build was being called with the correct instance of VaultEnvironmentProperties but it was not using those properties for creation of VaultTemplate. Instead it was using the injected instance of SpringVaultClientConfiguration which had only the vault properties provided under spring.cloud.config.server.vault.

@kvmw
Copy link
Contributor Author

kvmw commented Oct 18, 2024

I need to rebase this once #2596 is merged.

@ryanjbaxter
Copy link
Contributor

All set to rebase

@ryanjbaxter ryanjbaxter linked an issue Oct 18, 2024 that may be closed by this pull request
@ryanjbaxter ryanjbaxter merged commit f4f24e3 into spring-cloud:4.1.x Oct 18, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

Vault configuration in composite profile is not picked up.
3 participants