Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add labels to namespaces created during end to end tests
Besides that it is a good practice to label resources created this allows in this case easy deletion of the namespaces if: - there was an issue while running the tests - the variable TEST_KEEP_NAMESPACES was set - the tests were abruptly stopped by the developer Currently you have to run something like: $ kubectl get namespaces --no-headers=true -o custom-columns=:metadata.name | grep arendelle | xargs kubectl delete namespace This would become: $ kubectl delete ns -l "tekton.dev/test-e2e=true"
- Loading branch information