Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rollout-service): fixed version comparison in broadcast's app sta…
…te (#2155) In the `applyKuberpultEvent` method of the `Broadcast`'s `appState` we were incorrectly comparing the argocd state with the kuberpult state. This meant that if argocd had one version deployed, and a request was received from the cd-service (kuberpultEvent) to update a deployment to that same version, we would not update the `appState` to that version, causing a split between the rollout-service's inner state kuberpult version and the real kuberpult version. The consequence would be that later, we could generate an argo notification to deploy to the earlier version that the rollout service has in its inner state, while both the cd-service "wanted" the more recent one deployed. Ref: SRX-0F9ZN3
- Loading branch information