-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
clean up test resources && fix failing test
Signed-off-by: Atif Ali <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/k8s/1-046_validate_application_tracking/04-cleanup.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
delete: | ||
# Delete test namespaces | ||
- apiVersion: v1 | ||
kind: Namespace | ||
name: test-1-046-argocd-1 | ||
- apiVersion: v1 | ||
kind: Namespace | ||
name: test-1-046-argocd-2 | ||
- apiVersion: v1 | ||
kind: Namespace | ||
name: source-ns-1 | ||
- apiVersion: v1 | ||
kind: Namespace | ||
name: source-ns-2 | ||
# Delete ArgoCD instances | ||
- apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
name: argocd-1 | ||
namespace: test-1-046-argocd-1 | ||
- apiVersion: argoproj.io/v1beta1 | ||
kind: ArgoCD | ||
name: argocd-2 | ||
namespace: test-1-046-argocd-2 | ||
# Delete Applications | ||
- apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
name: test-app | ||
namespace: test-1-046-argocd-1 | ||
- apiVersion: argoproj.io/v1alpha1 | ||
kind: Application | ||
name: test-app | ||
namespace: test-1-046-argocd-2 | ||
timeout: 120 # Give enough time for cascade deletion |