melahn / helm-chartmap-generator

A tool for generating ChartMap dependency reports
MIT License
0 stars 0 forks source link

retry to print the chart with the refresh option, should the attempt with the refresh option fail #3

Closed melahn closed 2 years ago

melahn commented 2 years ago

In the interest of efficiency, ChartMapGenerator uses the ChartMap class without the refresh option. Recall that the refresh option causes a helm dependency update command to be issued before processing the chart. This is usually used in cases where you want to be sure that that the chart dependencies are up-to-date but it is also useful in cases where the chart contains embedded sub-charts not found in any repo.

So add code that will retry to print the chart with the refresh option, should the first attempt fail. Log the fact that this is being done.

melahn commented 2 years ago

done