Description
Summary
We configured ArgoCD export to make an export to a Azure storage account every 5 min.
We just redeployed our OpenShift cluster and synced our basic cluster configuration with FluxCD.
In this unique situation we found out the ArgoCD export was ran before the ArgoCD import was completed.
This resulted in a backup that only contained the basic ArgoCD configuration, after which this was applied with the import.
This means all our original ArgoCD configuration is lost...
Motivation
After a cluster redeploy export ran before import which causes data loss...
Proposal
We would like some sort of mechanism to make sure the import is completed before a new export is started.
My initial idea is to add an init container to check if ArgoCD is running. I'm not sure if this is a good idea in all Export use cases.
Please let me know what's your opinion of this feature request.