Skip to content

Commit

Permalink
[v2] during installation ignore ScaledJob CRD validation erros (#859)
Browse files Browse the repository at this point in the history
  • Loading branch information
zroubalik committed May 25, 2020
1 parent d5516c4 commit e15cb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/setup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit e15cb8b

Please sign in to comment.