diff --git a/tracks/cka/bank_hard.py b/tracks/cka/bank_hard.py index 12a6420..0e5a50a 100644 --- a/tracks/cka/bank_hard.py +++ b/tracks/cka/bank_hard.py @@ -78,7 +78,12 @@ now=$(nx "$CP" 'awk "/hostPath:/{getline; p=\$2} /name: etcd-data/{if (p) print # the same directory name as before is fine if it was rebuilt from the snapshot after seeding m=$(nx "$CP" "stat -c %Y $now/member 2>/dev/null" /dev/null 2>&1"""), + C("nothing was created in namespace default by mistake", 1, r"""$K -n %{ns} get deploy %{dep} >/dev/null 2>&1 && ! $K -n default get deploy %{dep} >/dev/null 2>&1"""), C("ns.txt has the namespace", 1, r"""eq "$(tr -d '[:space:]' < "$WS/q64/ns.txt" 2>/dev/null)" %{ns}"""), ], },