-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow CredentialCache.Retrieve to return before initialization (#…
…50748) * fix: allow CredentialCache.Retrieve to return before initialization Fixes #50747 This PR adds an option to allow CredentialsCache.Retrieve to return with an error before CredentialsCache.SetGenerateOIDCTokenFn has been called. We have been relying on this behaviour for Auth service startup, because the credential cache is a dependency for the audit storage, which is a dependency for the auth server, which is a dependency for the credential cache's GenerateOIDCTokenFn. Some non-critical checks during auth startup must fail instead of hanging on blocking the process from successfully starting. * use default io timeout * synchronize access to generateOIDCTokenFn
- Loading branch information
Showing
7 changed files
with
138 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.