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

Add sleep before retrieving tokens #1487

Merged
merged 1 commit into from
Jan 29, 2020
Merged

Add sleep before retrieving tokens #1487

merged 1 commit into from
Jan 29, 2020

Conversation

andresmgot
Copy link
Contributor

Description of the change

There is a race condition in which we try to retrieve the serviceaccount tokens before they are ready. For example:
https://circleci.com/gh/kubeapps/kubeapps/16102

This PR reorders the token retrieval and adds a small sleep to avoid that.

@andresmgot
Copy link
Contributor Author

merging this to avoid issues in master

@andresmgot andresmgot merged commit 161a9ad into master Jan 29, 2020
@andresmgot andresmgot deleted the sleepBeforeTokens branch January 29, 2020 13:36
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

Successfully merging this pull request may close these issues.

1 participant