-
-
Notifications
You must be signed in to change notification settings - Fork 618
Description
Hi, I'm opening this issue because I want to clarify something, and this repo doesn't have discussions enabled.
According to the docs the default update startegy is rollout, and the docs warns that this strategy cannot be used with GitOps agent, as Reloader will patch the deployment, and e.g. Argo CD will see some drift => try to sync.
I test this out on my setup with Argo CD (auto-sync enabled) and the default Reloader startegy (rollout), and everything seems to work perfectly fine!
On ConfigMap update, the Reloader updates (patch) value of STAKATER_TS_FRONTEND_CONFIGMAP variables in the deployment manifest, so the rolling update is performed and Argo CD does nothing because ArgoCD not reporting diff in environment variable configuration, so there is no sync done after patch from Reloader.
Everything works without restart strategy, so either this section is wrong and requires a fix, or I miss something.