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

Use RetryExec(3) for helm repo add step #630

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

mkubaczyk
Copy link
Collaborator

@mkubaczyk mkubaczyk commented Oct 11, 2021

Depending on the helm repo availability, helm repo add step can be problematic when running helmsman in parallel.
This can result with:

[2021-10-11T11:02:09.442Z] 2021-10-11 11:02:09 INFO: Setting up helm


[2021-10-11T11:02:10.352Z] 2021-10-11 11:02:10 CRITICAL: While adding helm repository [bitnami]: Error: looks like "https://charts.bitnami.com/bitnami" is not a valid chart repository or cannot be reached: stream error: stream ID 1; INTERNAL_ERROR

so the retry seems to be the easiest way to mitigate the issue same as we did for unexpected network connection interruptions when running helm upgrade commands.

@mkubaczyk mkubaczyk requested a review from luisdavim October 11, 2021 12:52
Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@luisdavim luisdavim merged commit c46588e into master Oct 11, 2021
@luisdavim luisdavim deleted the helm-repo-add-retry branch October 11, 2021 16:11
mkubaczyk pushed a commit that referenced this pull request Aug 18, 2023
Use RetryExec(3) for helm repo add step
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.

2 participants