From a7bdd68fc242fc54db1e9c0d1cf1bc07fc1cb408 Mon Sep 17 00:00:00 2001 From: NimRegev Date: Mon, 23 Oct 2023 14:31:18 +0300 Subject: [PATCH 1/4] Update manage-application.md --- _docs/deployments/gitops/manage-application.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/_docs/deployments/gitops/manage-application.md b/_docs/deployments/gitops/manage-application.md index a58d91f82..466f09dc1 100644 --- a/_docs/deployments/gitops/manage-application.md +++ b/_docs/deployments/gitops/manage-application.md @@ -500,12 +500,19 @@ The table describes the options for the `Rollout` resource. |**Skip-current-step** | Skip executing the current step, and continue with the next step. | ## Delete Argo CD applications -Delete an Argo CD application from Codefresh. Deleting an application deletes the manifest from the Git repository, and then from the cluster where it is deployed. When deleted from the cluster, the application is removed from the GitOps Apps dashboard in Codefresh. - ->**Prune resources** in the application's General settings determines the scope of the delete action. +Delete an Argo CD application from Codefresh. Deleting an application deletes the manifest from the Git repository, and then from the cluster where it is deployed. When deleted from the cluster, the application is removed from the GitOps Apps dashboard in Codefresh. + +**Prune resources settings** +**Prune resources** in the application's General settings determines the scope of the delete action. When selected, both the application and its resources are deleted. When cleared, only the application is deleted. For more information, review [Sync settings]({{site.baseurl}}/docs/deployments/gitops/create-application/#sync-settings). Codefresh warns you of the implication of deleting the selected application in the Delete form. +**Deleting applications through Argo CD UI** +When you delete Argo CD applications through the Argo CD UI, you may still see them in the GitOps Apps dashboard. Codefresh's validation mechanism identifies such applications, and will typically remove them from the GitOps Apps dashboard within a short period of time. +If an application deleted from Argo CD continues to be displayed, it is likely that it is also not deleted from the cluster. It is then essential to investigate further, checking for conditions or settings that might be preventing the application's deletion. + + +**How to** 1. In the Codefresh UI, from Ops in the sidebar, select [GitOps Apps](https://g.codefresh.io/2.0/applications-dashboard/list){:target="\_blank"}. 1. Select the application to delete. 1. Click the three dots for additional actions, and select **Delete**. From c91d751093fe92d10195ced09df42ff07e82404c Mon Sep 17 00:00:00 2001 From: NimRegev Date: Tue, 7 Nov 2023 14:08:06 +0200 Subject: [PATCH 2/4] Add section on delete app in Argo UI Added section on the behavior when deleting apps from Argo CD UI --- _docs/deployments/gitops/manage-application.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/_docs/deployments/gitops/manage-application.md b/_docs/deployments/gitops/manage-application.md index 466f09dc1..52f505ac3 100644 --- a/_docs/deployments/gitops/manage-application.md +++ b/_docs/deployments/gitops/manage-application.md @@ -507,11 +507,12 @@ Delete an Argo CD application from Codefresh. Deleting an application deletes th When selected, both the application and its resources are deleted. When cleared, only the application is deleted. For more information, review [Sync settings]({{site.baseurl}}/docs/deployments/gitops/create-application/#sync-settings). Codefresh warns you of the implication of deleting the selected application in the Delete form. -**Deleting applications through Argo CD UI** -When you delete Argo CD applications through the Argo CD UI, you may still see them in the GitOps Apps dashboard. Codefresh's validation mechanism identifies such applications, and will typically remove them from the GitOps Apps dashboard within a short period of time. -If an application deleted from Argo CD continues to be displayed, it is likely that it is also not deleted from the cluster. It is then essential to investigate further, checking for conditions or settings that might be preventing the application's deletion. +**Deleting applications in Argo CD** +When you delete Argo CD applications in the Argo CD UI, you might still see them in Codefresh's GitOps Apps dashboard. + +Codefresh employs a validation mechanism to detect applications deleted from Argo CD and remove them from the GitOps Apps dashboard. If the application continues to be displayedin the dashboard after deleting it in Argo CD, it's possible that the application hasn't been deleted from the cluster. In this case, it essential to investigate further and check for conditions or settings preventing the application's deletion. + - **How to** 1. In the Codefresh UI, from Ops in the sidebar, select [GitOps Apps](https://g.codefresh.io/2.0/applications-dashboard/list){:target="\_blank"}. 1. Select the application to delete. From 08926984c31fb40d43630cebe92a947a7da5d67d Mon Sep 17 00:00:00 2001 From: NimRegev Date: Tue, 7 Nov 2023 16:24:05 +0200 Subject: [PATCH 3/4] Update manage-application.md --- _docs/deployments/gitops/manage-application.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_docs/deployments/gitops/manage-application.md b/_docs/deployments/gitops/manage-application.md index 52f505ac3..f0e8dca7a 100644 --- a/_docs/deployments/gitops/manage-application.md +++ b/_docs/deployments/gitops/manage-application.md @@ -510,7 +510,8 @@ Codefresh warns you of the implication of deleting the selected application in t **Deleting applications in Argo CD** When you delete Argo CD applications in the Argo CD UI, you might still see them in Codefresh's GitOps Apps dashboard. -Codefresh employs a validation mechanism to detect applications deleted from Argo CD and remove them from the GitOps Apps dashboard. If the application continues to be displayedin the dashboard after deleting it in Argo CD, it's possible that the application hasn't been deleted from the cluster. In this case, it essential to investigate further and check for conditions or settings preventing the application's deletion. +Codefresh employs a validation mechanism to detect applications deleted from Argo CD and to remove them from the GitOps Apps dashboard. +If the application continues to be displayed in the dashboard after deleting it in Argo CD, it's possible that the application hasn't been deleted from the cluster. It is essential to investigate further and check for conditions or settings preventing the application's deletion. **How to** From 98717ed86ec4ddc789e613a1b417640ebf565962 Mon Sep 17 00:00:00 2001 From: NimRegev Date: Tue, 14 Nov 2023 09:31:22 +0200 Subject: [PATCH 4/4] Update manage-application.md --- _docs/deployments/gitops/manage-application.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_docs/deployments/gitops/manage-application.md b/_docs/deployments/gitops/manage-application.md index f0e8dca7a..2d96d5b37 100644 --- a/_docs/deployments/gitops/manage-application.md +++ b/_docs/deployments/gitops/manage-application.md @@ -508,10 +508,10 @@ When selected, both the application and its resources are deleted. When cleared, Codefresh warns you of the implication of deleting the selected application in the Delete form. **Deleting applications in Argo CD** -When you delete Argo CD applications in the Argo CD UI, you might still see them in Codefresh's GitOps Apps dashboard. +When you delete Argo CD applications in the Argo CD UI, you may still see them in Codefresh's GitOps Apps dashboard. Codefresh employs a validation mechanism to detect applications deleted from Argo CD and to remove them from the GitOps Apps dashboard. -If the application continues to be displayed in the dashboard after deleting it in Argo CD, it's possible that the application hasn't been deleted from the cluster. It is essential to investigate further and check for conditions or settings preventing the application's deletion. +If the application continues to be displayed in the dashboard after it was deleted in Argo CD, it could be that the application hasn't been deleted from the cluster. It is essential to investigate further and check for conditions or settings preventing the application's deletion. **How to**