Should the default AppProject be shown as an orphaned resource? #26832
Replies: 1 comment
-
|
This is a really good catch, and I think you’ve identified a genuine UX safety gap. Let me answer each question: 1. Would
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I've got a question about the handling of orphaned resources.
Context
Yesterday I accidentally put our argo-cd cluster in a weird limbo state by deleting orphaned resources.
What did I do?
kind: AppProjectwith namedefault, cross-checked and did not find any references to it in our GitOps (we have multiple projects) so i hit delete -> this meant that now all resources were shown as orphaned, the deployments kept running, the cluster itself was still looking good, but kinda all resources exceptApplicationSetwere orphaned.Solution
We fixed it in the end by adding the cluster again with the
argocdcli tool.Questions
AppProjectdefaultagain withkubectlbut we decided against it as we were not sure if that would disrupt the running deployments. Would that also have worked?AppProject? It says here that the project can not be deleted, but I did manage to do so through the argo-cd UI.defaultAppProjectmaybe be added as an excemption to the orphaned resources warning such as thedefaultserviceaccount? I don't want people to repeat my mistake :)Thank you so much!
P.S.: If indeed the
defaultAppProjectshould be excluded, I'd me more than happy to contribute that change to the codebase and the documentationBeta Was this translation helpful? Give feedback.
All reactions