We've updated the component to use ArgoCD sync policy Replace=true for the CRDs in #58 to workaround #57. This unblocks us short-term. However, ArgoCD v2.5 will have support for server-side apply with sync policy ServerSideApply=true and we should switch to that to ensure that CRDs are never deleted and recreated during sync (this shouldn't happen at the moment either unless "Force" is selected during a manual sync).
Context
We've updated the component to use ArgoCD sync policy
Replace=true
for the CRDs in #58 to workaround #57. This unblocks us short-term. However, ArgoCD v2.5 will have support for server-side apply with sync policyServerSideApply=true
and we should switch to that to ensure that CRDs are never deleted and recreated during sync (this shouldn't happen at the moment either unless "Force" is selected during a manual sync).Alternatives
Keep sync policy
Replace=true
.