Closed benashz closed 2 months ago
LGTM. Let me know when the update for integration tests is in. I can continue the review then.
LGTM. Let me know when the update for integration tests is in. I can continue the review then.
Updated with bb331e3023f62abe04b33ef43c99277e83814311
During some internal work we discovered that when updating a
VaultAuth
instance, any associated Vault Clients are pruned from the cache without notifying theVaultDynamicSecrets
controller. This could potentially lead to premature revocation of secret leases, causing service disruptions for applications that rely on valid secret data.Upon update to a
VaultAuth
orVaultClient
instance, theCachingClientFactory
will send any pruned Clients to itscallbackHandler
channel. Upon deletion of either resource, the Client will be removed from the cache and no callbacks will be called.