Timing out failed sync and retrying with newer commits in OpenShift GitOps

Solution Verified - Updated -

Issue

  • If there is a problem with the deployment and OpenShift GitOps keeps waiting for resources forever (for example because of a misconfiguration), OpenShift GitOps is stuck in syncing status. Even if pushing a new version, OpenShift GitOps stays busy with syncing the previous version. The goal should be to prevent such a condition from happening by eventually timing out the sync after a defined period of time and with a flag to try a newer version (if available) when the sync has failed.

Environment

  • Red Hat OpenShift Container Platform (RHOCP) 4
  • Red Hat OpenShift GitOps

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content