Makefile will clear generation-kubeconfig pods after subsystem tests
@@ -104,6 +104,7 @@ subsystem: deploy-all subsystem-run
subsystem-clean:
kubectl get pod -o name | grep create-image | xargs kubectl delete 1> /dev/null ; true
+ kubectl get pod -o name | grep generate-kubeconfig | xargs kubectl delete 1> /dev/null ; true
clear-deployment:
kubectl delete deployments.apps bm-inventory 1> /dev/null ; true
@@ -111,6 +112,8 @@ clear-deployment:
kubectl delete deployments.apps scality 1> /dev/null ; true
kubectl get job -o name | grep create-image | xargs kubectl delete 1> /dev/null ; true
kubectl get pod -o name | grep create-image | xargs kubectl delete 1> /dev/null ; true
+ kubectl get job -o name | grep generate-kubeconfig | xargs kubectl delete 1> /dev/null ; true
+ kubectl get pod -o name | grep generate-kubeconfig | xargs kubectl delete 1> /dev/null ; true
kubectl delete service bm-inventory 1> /dev/null ; true
kubectl delete service mariadb 1> /dev/null ; true
kubectl delete service scality 1> /dev/null ; true
