From 1930ea5b971c1e09e0e4e4425013d9c3df27f712 Mon Sep 17 00:00:00 2001 From: Zbynek Roubalik <726523+zroubalik@users.noreply.github.com> Date: Tue, 26 May 2020 01:39:24 +0200 Subject: [PATCH] [v2] during installation ignore ScaledJob CRD validation erros (#859) --- tests/setup.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/setup.test.ts b/tests/setup.test.ts index 9c78879ff57..c3064da1577 100644 --- a/tests/setup.test.ts +++ b/tests/setup.test.ts @@ -36,7 +36,7 @@ test.serial('Deploy Keda', t => { if (sh.exec('kubectl apply -f ../deploy/crds/keda.sh_scaledobjects_crd.yaml').code !== 0) { t.fail('error deploying ScaledObject CRD. ' + result) } - if (sh.exec('kubectl apply -f ../deploy/crds/keda.sh_scaledjobs_crd.yaml').code !== 0) { + if (sh.exec('kubectl apply -f ../deploy/crds/keda.sh_scaledjobs_crd.yaml --validate=false').code !== 0) { t.fail('error deploying ScaledJob CRD. ' + result) } if (