'Terminating the container when should sync [closed]

I have a CICD pipeline that have some CI / tests and inside my pipeline I've a step that's change the deployment YAML file and do a git commit to the repository where my argoCD app is listening. After the pipeline change my deployment file, I send a sync through API to sync the ArgCD App, but when start to create a new container, the container suddenly terminate and the version keep the last version. This started to occur when I updated to version 2.0.5 +

Any Ideas that I can fix this?

My ArgoCD APP Manifest:

project: ecommerce source: repoURL: 'my repo using SSH' path: . targetRevision: master destination: server: 'My Kubernetes:443' namespace: My Namespace syncPolicy: automated: {} retry: limit: 10 backoff: duration: 10s factor: 2 maxDuration: 4m0s


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source