-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug: retry saving helm chart object status
if we fail to save the status, specially after installing the chart, we will try to install the chart again during the next reconcile (its Status.Status.ReleaseName will be empty). this pr attempts to mitigate this in two ways: - before updating fetch the newest version of the chart. - retry if it is still on conflict. this may be overkill as it most likely won't fail after we fetch an updated version of the chart but given the importance of this operation we better be safe than sorry. when this bug this solves happens this is what is reported in the chart status: ``` can't install loadedChart ```chart-name```: cannot re-use a name that is still in use ``` Signed-off-by: Ricardo Maraschini <[email protected]>
- Loading branch information
1 parent
dd33867
commit 5333b91
Showing
1 changed file
with
38 additions
and
18 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