You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is about the need for the new annotation argocd.argoproj.io/sync-options: Force=true, which is needed for the use case like the job resources that should run every time when syncing.
Goals & Proposal
Could we implement the new annotation feature on this repo?
Based on kubectl replace --help, --force is needed to delete and then re-create the resources.
~ kubectl replace --help
# Force replace, delete and then re-create the resource
kubectl replace --force -f ./pod.json
Currently, there is nothing like argocd.argoproj.io/sync-options: Force=true.
It seems like argocd.argoproj.io/sync-options: Replace=true runs on this library.
Summary
This issue is about the need for the new annotation
argocd.argoproj.io/sync-options: Force=true, which is needed for the use case like the job resources that should run every time when syncing.Goals & Proposal
Could we implement the new annotation feature on this repo?
Based on
kubectl replace --help,--forceis needed to delete and then re-create the resources.Currently, there is nothing like
argocd.argoproj.io/sync-options: Force=true.It seems like
argocd.argoproj.io/sync-options: Replace=trueruns on this library.gitops-engine/pkg/sync/sync_context.go
Lines 176 to 180 in b855894
Releated Issues
There are some related issues at argo-cd repo. Please take a look.
argoproj/argo-cd#5882
argoproj/argo-cd#7459
argoproj/argo-cd#9163
Thank you for reading.