for i in $(kubectl get -n argocd deployments,statefulsets,replicasets,daemonsets,services,ingress,ingressroutes,pods,pv,pvc | grep argocd | awk '{print $1}'); do
  echo kubectl delete -n argocd $i
  kubectl delete -n argocd $i
done
