Argo-CD's ignoredifference Feature Fails with Sidecar Container Images on RHOCP4
Issue
- The synchronization options do not work properly when using the
jqPathExpressionsparameter with a JSON array that contains items with different keys. This issue causes problems in the synchronization process. - If the
ignoreDifferencesfield is specified in an ArgoCD Application, and thejqPathExpressionsparameter includes an empty square bracket[], the configuration data within the array is completely ignored during synchronization. - An error occurs when attempting to synchronize using
jqPathExpressionswith a JSON array that has items with distinct keys, leading to unexpected behavior in the synchronization options. - When the
ignoreDifferencesfield is included in an ArgoCD Application and thejqPathExpressionsparameter contains[], any configuration data within the square brackets is excluded during synchronization, potentially leading to discrepancies.
Environment
- Red Hat OpenShift Container Platform (RHOCP) 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.