Azure / Azure/orkestra

Remediation of an applicationgroup on installation failure does not remove the application namespaces

Open
#207 0 comments 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
Go
Stars
112
Forks
21
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
If an ApplicationGroup were to fail on install, and the reversal workflow cleansup all HelmReleases, the Application namespaces are not deleted until the ApplicationGroup itself is manually deleted.

**To Reproduce**
Steps to reproduce the behavior:
1. Create ApplicationGroup bookinfo
2. Let it succeed
3. Delete ApplicationGroup bookinfo
4. Immediately recreate the same ApplicationGroup bookinfo (this should induce a reconciliation failure since the Application Namespaces already exists)

**Expected behavior**
Namespaces should be removed during cleanup

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Environment (please complete the following information):**
- Kubernetes Version [e.g. 1.21.0]: **1.20.0**
- Kubernetes Distro [e.g. AKS, GKE, etc.]: **Kind**
- Orkestra Version Tag: **`latest`**
- Helm Version: **v3.2.4**

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.