Skip to content

v0.16.3-beta.2

@thardeck thardeck tagged this 13 Oct 14:33
* Clear Stalled when GitRepo polling recovers

A failed Git poll (for example context deadline exceeded on ls-remote) sets Stalled=True on the GitRepo. When polling later succeeds and the commit hasn't changed, nothing clears Stalled. Only the GitJob reconciler resets it, and a successful poll with the same commit doesn't trigger that reconciler. The GitRepo stays stalled until a Force Update or a new commit.

This PR clears the condition if possible when polling is successful.

Refers to: https://github.com/rancher/fleet/issues/5907

---------

Signed-off-by: Xavi Garcia <xavi.garcia@suse.com>
Co-authored-by: Xavi Garcia <xavi.garcia@suse.com>
Assets 2
Loading