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

[v17] fix: allow CredentialCache.Retrieve to return before initialization #50790

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

nklaassen
Copy link
Contributor

Backport #50748 to branch/v17

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.
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log backport size/sm labels Jan 6, 2025
@github-actions github-actions bot requested a review from smallinsky January 6, 2025 18:44
@nklaassen nklaassen added the no-changelog Indicates that a PR does not require a changelog entry label Jan 6, 2025
@nklaassen nklaassen enabled auto-merge January 6, 2025 18:59
@nklaassen nklaassen added this pull request to the merge queue Jan 6, 2025
Merged via the queue into branch/v17 with commit b48bd49 Jan 6, 2025
41 of 42 checks passed
@nklaassen nklaassen deleted the nklaassen/v17/fix-eas branch January 6, 2025 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audit-log Issues related to Teleports Audit Log backport no-changelog Indicates that a PR does not require a changelog entry size/sm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants