fix tests and examples

This commit is contained in:
Jaka Hudoklin 2020-01-14 19:13:33 +00:00
parent 80cb43fcea
commit acd93f0748
No known key found for this signature in database
GPG key ID: D1F18234B07BD6E2
8 changed files with 20 additions and 16 deletions

View file

@ -22,7 +22,7 @@ in {
assertion = latestCrontab.apiVersion == "stable.example.com/v2";
}];
testScript = ''
$kube->waitUntilSucceeds("kubectl apply -f ${toYAML config.kubernetes.generated}");
$kube->waitUntilSucceeds("kubectl apply -f ${config.kubernetes.result}");
$kube->succeed("kubectl get crds | grep -i crontabs");
$kube->succeed("kubectl get crontabs | grep -i versioned");
$kube->succeed("kubectl get crontabs | grep -i latest");