argoproj / argo-cd

Declarative Continuous Deployment for Kubernetes
https://argo-cd.readthedocs.io
Apache License 2.0
16.82k stars 5.09k forks source link

Support RespectIgnoreDifferences flag for argocd cli app sync command #16597

Open alexdtag opened 7 months ago

alexdtag commented 7 months ago

Summary

It seems when syncing an app using argocd cli like argocd app sync my-app it is not possible to set the flag RespectIgnoreDifferences. This should be added as an optional flag.

Motivation

Needed for manually syncing apps via cli when RespectIgnoreDifferences is functionality is desired.

Proposal

Add RespectIgnoreDifferences as a flag to argocd app sync command, similar to e.g. --applyOutOfSyncOnly

nikzayn commented 1 month ago

@alexdtag Can, I take this up?