argo-cd/docs/user-guide
Chetan Banavikalmutt b728505c9f
feat: support background propagation policy while deleting applications (#5216) (#5524)
* feat: support background propagation policy

Currently, Argo CD only supports foreground propagation policy ie. delete all the resources in the foreground and then delete the application in the end. This PR introduces a new flag `propagation-policy` to decide the type of policy when cascading is enabled. It also adds an annotation `propagation-policy.argocd.argoproj.io`, which is used by the application controller to decide the order of deletion.

Fixes: #5216
Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* fix lint and doc errors

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* update logs to display the application name

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* address review comments

* remove application name from logs since it's already present
* update the propagation policy annotation key

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* Add radio buttons in the UI to select propagation policy

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* inject finalizers instead of annotations for specifying propagation policy

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* rebase branch on master

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* update the controller to set the policy only for application's resources

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>

* fix the label of policy radio button

Signed-off-by: Chetan Banavikalmutt <chetanrns1997@gmail.com>
2021-03-15 17:27:41 +01:00
..
commands feat: support background propagation policy while deleting applications (#5216) (#5524) 2021-03-15 17:27:41 +01:00
app_deletion.md Update app_deletion.md (#4365) 2020-09-17 09:01:29 -07:00
application-set.md docs: Add ApplicationSet page to Argo CD docs (#5685) 2021-03-05 22:15:37 +01:00
application_sources.md Adds support for ARGO_CD_[TARGET_REVISION|REVISION] and pass to Custom Tool/Helm/Jsonnet (#2415) 2019-10-21 16:54:23 -07:00
auto_sync.md feat: autosync protection (#4475) 2020-10-06 21:10:50 -07:00
best_practices.md docs: Updated best practices to remove typos. (#3410) 2020-04-14 12:26:09 +02:00
build-environment.md fix: update documentation for adding environment variable KUBE_VERSION and KUBE_API_VERSION (#3323) 2020-03-31 20:21:39 -07:00
ci_automation.md doc: fix the ci_automation's kustomize source code. (#4144) 2020-08-24 13:57:54 -07:00
compare-options.md docs: declare where to add the annotation (#4490) 2020-10-06 08:12:35 +02:00
config-management-plugins.md Adds support for ARGO_CD_[TARGET_REVISION|REVISION] and pass to Custom Tool/Helm/Jsonnet (#2415) 2019-10-21 16:54:23 -07:00
diffing.md docs: Fix typo in documentation (#4254) 2020-09-03 14:03:48 -07:00
external-url.md update external link doc (#5377) 2021-02-02 11:34:48 -08:00
gpg-verification.md docs: Clarify RBAC requirements for GnuPG (#5294) 2021-01-21 15:09:53 -08:00
helm.md feat: made Helm v3 the default and removed version auto-detection (#5646) 2021-03-03 14:36:35 -08:00
index.md Create docs website (#1387) Closes #1390 2019-04-05 15:12:27 -07:00
jsonnet.md Spelling (#4596) 2020-10-19 18:21:06 -07:00
ksonnet.md Adds support for ARGO_CD_[TARGET_REVISION|REVISION] and pass to Custom Tool/Helm/Jsonnet (#2415) 2019-10-21 16:54:23 -07:00
kustomize.md fix: minor cleanup for wording in cli and docs (#5321) 2021-01-28 14:46:57 -08:00
orphaned-resources.md fix: Exclude kube-root-ca.crt ConfigMap from Orphaned Resources monitoring by default (#5490) (#5523) 2021-02-17 11:25:21 +01:00
parameters.md feat: Application specific parameter override files (#5038) 2020-12-15 08:51:02 -08:00
private-repositories.md feat: GitHub organization app for git cloning (#4348) (#5355) 2021-02-19 14:24:32 -08:00
projects.md feat: add source repos to fields inherited from global projects (#5417) 2021-02-05 11:48:47 -08:00
resource_hooks.md docs: Clarify where hook manifests go (#4659) 2020-10-27 14:59:32 -07:00
selective_sync.md feat: selective sync (#3877) (#5347) 2021-01-29 12:26:47 -08:00
status-badge.md Improve status badge feature (#1844) 2019-07-01 12:10:36 -07:00
sync-options.md feat: support resource prune propagation policy (#5743) 2021-03-12 09:01:36 -08:00
sync-waves.md fix: minor cleanup for wording in cli and docs (#5321) 2021-01-28 14:46:57 -08:00
sync_windows.md Fix logic when checking sync window status using the cli (#2456) 2019-10-09 16:06:14 -07:00
tool_detection.md Refine docs: How to explicitly select a tool (#3261) 2020-03-23 09:54:09 -07:00
tracking_strategies.md docs: Update broken link for Branch Tracking (#4147) 2020-08-24 16:35:33 +02:00