Skip to content

fix: upgrade script to scale down argocd applicatioset controller#2814

Merged
j-zimnowoda merged 3 commits intomainfrom
APL-1407
Dec 19, 2025
Merged

fix: upgrade script to scale down argocd applicatioset controller#2814
j-zimnowoda merged 3 commits intomainfrom
APL-1407

Conversation

@j-zimnowoda
Copy link
Contributor

📌 Summary

🔍 Reviewer Notes

Before the fix:

2025-12-19T11:18:01.488Z otomi:cmd:upgrade:runtimeUpgrade:log Scaling argocd-applicationset-controller to 0 replicas...
2025-12-19T11:18:01.502Z otomi:cmd:upgrade:runtimeUpgrade:error Failed to scale argocd-applicationset-controller: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"error decoding patch: json: cannot unmarshal object into Go value of type []handlers.jsonPatchOp","reason":"BadRequest","code":400}

After the fix:

  otomi:cmd:upgrade:runtimeUpgrade:log Scaling argocd-applicationset-controller to 0 replicas... +0ms
  otomi:cmd:upgrade:runtimeUpgrade:log Scaled argocd/argocd-applicationset-controller to 0 replicas. +1s

🧹 Checklist

  • Code is readable, maintainable, and robust.
  • Unit tests added/updated

@j-zimnowoda j-zimnowoda merged commit c9f31de into main Dec 19, 2025
12 checks passed
@j-zimnowoda j-zimnowoda deleted the APL-1407 branch December 19, 2025 13:30
ElderMatt pushed a commit that referenced this pull request Dec 19, 2025
)

Co-authored-by: svcAPLBot <174728082+svcAPLBot@users.noreply.github.com>
(cherry picked from commit c9f31de)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants