mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-16 16:37:01 +00:00
import some integration tests from kubeval
This commit is contained in:
parent
3751a26ae7
commit
eb6a2b12b7
1 changed files with 5 additions and 0 deletions
|
|
@ -39,3 +39,8 @@
|
||||||
[ "$status" -eq 1 ]
|
[ "$status" -eq 1 ]
|
||||||
[ $(expr "$output" : "^failed opening fixtures/not-here") -ne 0 ]
|
[ $(expr "$output" : "^failed opening fixtures/not-here") -ne 0 ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@test "Fail when parsing a config with additional properties and strict set" {
|
||||||
|
run bin/kubeconform -strict -k8sversion 1.16.0 -file fixtures/extra_property.yaml
|
||||||
|
[ "$status" -eq 1 ]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue