k8wiz
Argo CD
Medium
Syncing & Deployment

Which sync option makes Argo CD leave the fields listed in ignoreDifferences out of what it applies during a sync?

Select your answer:

Show answer and explanation

Answer: RespectIgnoreDifferences=true

Explanation

By default, ignoreDifferences only affects how Argo CD computes the sync status, and the sync still applies the full desired state. RespectIgnoreDifferences=true pre-patches the desired state to remove the ignored fields before applying it. It only works for resources that already exist; on creation the manifest is applied as written.

Read more about Argo CD