Andrea Tosatto
d8e348a597
Allow to skip resources using the GVK notation ( #92 )
...
* Allow to skip resources using the GVK notation
* Update flags description, add integration tests and update readme
Co-authored-by: Yann Hamon <yann@mandragor.org>
2022-10-16 14:59:48 +02:00
Bill Franklin
9a6fff13cb
Forbid duplicate keys in strict mode ( #121 )
...
* Forbid duplicate keys in strict mode
Prevents specifying duplicate keys using
UnmarshallStrict: https://pkg.go.dev/gopkg.in/yaml.v2#UnmarshalStrict
* Add acceptance tests for duplicated properties
2022-07-15 14:23:10 +02:00
Yann Hamon
2eefa7fc22
Update Junit tests, fix #45
2021-08-29 12:57:25 +02:00
Victor Cardenas
44b7ba9aef
Properly handle successful http requests to registries sending invalid schema responses
2021-08-03 19:46:18 -04:00
Yann Hamon
509ad8e997
add test for missing apiVersion - better error message
2020-12-23 18:25:46 +01:00
Yann Hamon
29a8f4c09e
avoid double unmarshalling
2020-12-15 18:35:33 +01:00
Yann Hamon
300b571c33
linting / refactor
2020-11-15 12:12:37 +01:00
Yann Hamon
4e96b44a8b
Add example how to use kubeconform as a library
2020-11-15 10:01:36 +01:00
Yann Hamon
4672ded043
only expose interfac
2020-11-14 16:23:33 +01:00
Yann Hamon
9936e43d47
opts should not be a pointer
2020-11-14 15:57:39 +01:00
Yann Hamon
649c2ca4d6
refactor validator pkg so it can be usable in a third party app
2020-11-14 15:54:45 +01:00
Yann Hamon
1bc9283240
refactor
2020-11-01 16:28:32 +01:00
Christoph Mertz
0cffc7994d
reorder imports
...
Reorder imports with `goimports`.
2020-10-18 11:30:20 +02:00
Yann Hamon
b4995aa02c
Support for CRDs
2020-10-17 15:35:41 +02:00
Yann Hamon
cdcacb080d
more unit tests
2020-06-06 16:32:27 +02:00