Skip to content

fix: replace hanging kubectl delete command with api call#2785

Merged
CasLubbers merged 6 commits intomainfrom
APL-1369
Dec 12, 2025
Merged

fix: replace hanging kubectl delete command with api call#2785
CasLubbers merged 6 commits intomainfrom
APL-1369

Conversation

@CasLubbers
Copy link
Contributor

@CasLubbers CasLubbers commented Dec 9, 2025

📌 Summary

The kubectl delete command kept hanging on the deletion of the argocd application knative-serving-knative-serving. This can happen with kubectl when certain resources have finalizers that they cannot be deleted.
Replacing the kubectl command with the API fixed this issue. The API seems to be have differently and just continue instead of waiting for the resource to be deleted.
For safety measures I also replaced the other kubectl commands.

🔍 Reviewer Notes

🧹 Checklist

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

@CasLubbers CasLubbers changed the title fix: hanging kubectl command fix: replace hanging kubectl delete command with api call Dec 10, 2025
@CasLubbers CasLubbers merged commit dee2fdc into main Dec 12, 2025
12 checks passed
@CasLubbers CasLubbers deleted the APL-1369 branch December 12, 2025 13:27
Ani1357 pushed a commit that referenced this pull request Dec 15, 2025
Co-authored-by: svcAPLBot <174728082+svcAPLBot@users.noreply.github.com>
(cherry picked from commit dee2fdc)
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