Hello,
Currently, Digital.ai Release’s integration with ArgoCD does not allow users to dynamically add blocks to the ignoreDifferences field in application manifests. This limitation causes false-positive drift detections during planned maintenance deployments, where scaling a deployment to 0 replicas is intentional but flagged as an anomaly by ArgoCD.
Proposed Solution: Add functionality to dynamically configure ignoreDifferences in the ArgoCD Application manifest, specifically to support maintenance workflows where deployments are temporarily scaled down.
Use Case:
During application deployments, a maintenance deployment (e.g., frontend-fastaccess-maintenance) is started to handle client requests while the main application is updated. At the end of the deployment, this maintenance deployment is scaled down to 0 replicas. ArgoCD currently flags this as an anomaly, even though it is the expected behavior.
Example Configuration Needed:
ignoreDifferences:
- group: apps
kind: Deployment
name: frontend-fastaccess-maintenance
jsonPointers:
- /spec/replicas
Expected Benefits:
Avoid False-Positives: Prevent ArgoCD from flagging intentional scaling operations as anomalies.
Improve Maintenance Workflows: Allow seamless integration of maintenance deployments without manual overrides.
Enhance Flexibility: Provide users with the ability to dynamically adjust ignoreDifferences based on deployment context.

this will impact many applications and more than 300 users

Comments

  • Thank you for the idea. We are planning to investigate the best approach for this enhancement during the 26.3 cycle and will follow up if we have any questions or need additional details.