bookingcom / shipper

Kubernetes native multi-cluster canary or blue-green rollouts using Helm
Apache License 2.0
733 stars 39 forks source link

Chart repo index fetch bails out with a timeout if no timely response #265

Closed osdrv closed 4 years ago

osdrv commented 4 years ago

Chart repo FetchChartVersions/1 is always waiting for the very first resolution of chart index fetcher in order to return the list of versions for the chart. In the current implementation nothing stops this method from hanging forever and report no error. The proposed patch introduces an explicit timeout so a fetch problem could be indicated in the relevant objects (application mainly).

Signed-off-by: Oleg Sidorov oleg.sidorov@booking.com