import some integration tests from kubeval

This commit is contained in:
Yann Hamon 2020-06-04 00:42:12 +02:00
parent 3751a26ae7
commit eb6a2b12b7

View file

@ -39,3 +39,8 @@
[ "$status" -eq 1 ]
[ $(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 ]
}