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

Suggest to use Accepted Profiles instead of Active Profiles #723

Open
matthew-hwang opened this issue Mar 12, 2024 · 0 comments
Open

Suggest to use Accepted Profiles instead of Active Profiles #723

matthew-hwang opened this issue Mar 12, 2024 · 0 comments

Comments

@matthew-hwang
Copy link

Is your feature request related to a problem? Please describe.
If profiles are set only through spring.profiles.default property, spring-cloud-vault cannot process for this profiles.

Describe the solution you'd like
I expect this to be resolved by using Profiles::getAccepted() instead of Profiles::getActive() in VaultConfigDataLocationResolver.getKeyValueProperties()
image

Describe alternatives you've considered
No

Additional context
With application.yml as below

spring:
  profiles:
    default: development
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