#!/bin/bash

kubectl get psmdb-backup -A  | grep error | awk '{print $1 " " $2}' | xargs -L1 kubectl delete psmdb-backup -n
