spring-cloud / spring-cloud-vault

Configuration Integration with HashiCorp Vault
http://cloud.spring.io/spring-cloud-vault/
Apache License 2.0
270 stars 151 forks source link

Do not override `kv.profiles` in `VaultConfigDataLocationResolver` if already set #648

Closed kpentchev closed 1 year ago

kpentchev commented 1 year ago

Current implementation overrides any profiles set through spring.cloud.vault.kv.profiles with the currently active profile, which is possibly unwanted behavior and prevents fine grained configuration.

pivotal-cla commented 1 year ago

@kpentchev Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

pivotal-cla commented 1 year ago

@kpentchev Thank you for signing the Contributor License Agreement!

mp911de commented 1 year ago

Thank you for your contribution. That's merged and backported now.