Race condition in the alloy upgrade job helper
Motivation
There is a probable race condition in the alloy upgrade job helper. In certain situations, the lookup
can occur before the flux helm controller has had a chance to post back a status to the HelmRelease
CR. This can result in a situation where templating fails by trying to index a field that is nil
.
Acceptance Criteria
-
Edge cases where no helmrelease history is available should fail gracefully and assume no upgrade needs to take place.
Edited by Christopher O'Connell