@@ -523,6 +523,8 @@ jobs:
523523 kubectl delete catalogsource snyk-operator -n openshift-marketplace
524524 kubectl delete clusterrolebinding snyk-monitor
525525 kubectl delete clusterrole snyk-monitor
526+ kubectl delete --all all,sa,cm,secret,pvc -n services
527+ kubectl delete --all all,sa,cm,secret,pvc -n snyk-monitor
526528 kubectl delete namespace services
527529 kubectl delete namespace snyk-monitor
528530 # Force a success status code, otherwise Bash will implicitly return the last command's code, which can be 1.
@@ -654,8 +656,10 @@ jobs:
654656 kubectl delete -f ./test/fixtures/operator/custom-resource.yaml
655657 kubectl delete clusterrolebinding snyk-monitor
656658 kubectl delete clusterrole snyk-monitor
657-
658- kubectl delete ns snyk-monitor
659+ kubectl delete --all all,sa,cm,secret,pvc -n services
660+ kubectl delete --all all,sa,cm,secret,pvc -n snyk-monitor
661+ kubectl delete namespace snyk-monitor
662+ kubectl delete namespace services
659663 # Force a success status code, otherwise Bash will implicitly return the last command's code, which can be 1.
660664 true
661665 name : Cleanup
0 commit comments