Yann Hamon
|
a938c47e2e
|
handle files and dirs as parameters
|
2020-06-06 18:23:56 +02:00 |
|
Yann Hamon
|
dcaf1bc608
|
files to validate should be passed without -file, for ease of use with xargs
|
2020-06-06 01:01:48 +02:00 |
|
Yann Hamon
|
7bfb0b51f1
|
Display number of files / resources in text output
|
2020-06-04 23:59:50 +02:00 |
|
Yann Hamon
|
00880f68df
|
fail on missing schemas by default, add -ignore-missing-schemas
|
2020-06-04 23:33:00 +02:00 |
|
Yann Hamon
|
3751a26ae7
|
import some integration tests from kubeval
|
2020-06-04 00:33:01 +02:00 |
|
Yann Hamon
|
cee6971ee9
|
fix bug - cache was not being used
|
2020-06-02 00:08:47 +02:00 |
|
Yann Hamon
|
c3688407af
|
cache can be nil
|
2020-06-01 23:33:46 +02:00 |
|
Yann Hamon
|
42e5fd0c43
|
output write/flush return an error
|
2020-06-01 23:17:06 +02:00 |
|
Yann Hamon
|
9b129d021a
|
loggers take an io.writer
|
2020-06-01 17:15:52 +02:00 |
|
Yann Hamon
|
9f6965d10f
|
add tests for skipKindsMap
|
2020-06-01 16:47:35 +02:00 |
|
Yann Hamon
|
1f019066c7
|
-verbose instead of -quiet, -quiet seems a better default
|
2020-06-01 12:59:46 +02:00 |
|
Yann Hamon
|
0ddf4e9a50
|
more nits
|
2020-06-01 12:44:59 +02:00 |
|
Yann Hamon
|
b4547ce367
|
Revert "skip resources that have no Kind defined"
This reverts commit 8c23417561.
|
2020-06-01 05:19:54 +02:00 |
|
Yann Hamon
|
8c23417561
|
skip resources that have no Kind defined
|
2020-06-01 05:15:41 +02:00 |
|
Yann Hamon
|
742d8cdf7e
|
bugfixes
|
2020-06-01 05:08:45 +02:00 |
|
Yann Hamon
|
df62a49c17
|
refactor
|
2020-05-31 22:45:25 +02:00 |
|
Yann Hamon
|
c7780e1e6a
|
fix: invalid resources leading to two results
|
2020-05-31 22:43:45 +02:00 |
|
Yann Hamon
|
1eaa259006
|
further breakdown of main function
|
2020-05-31 20:20:53 +02:00 |
|
Yann Hamon
|
0cb1f40f24
|
further breakdown of main function
|
2020-05-31 20:16:03 +02:00 |
|
Yann Hamon
|
795cc54679
|
make logic more explicit
|
2020-05-31 20:03:50 +02:00 |
|
Yann Hamon
|
ed0ca92439
|
effort to simplify the main schema validation logic loop
|
2020-05-31 20:01:09 +02:00 |
|
Yann Hamon
|
c4bd7d0668
|
some linting simplifications
|
2020-05-31 19:29:30 +02:00 |
|
Yann Hamon
|
0048283a93
|
return 1 if there has been at least one failure
|
2020-05-31 17:25:20 +02:00 |
|
Yann Hamon
|
d5da392bcf
|
fix - ensure summary is printed at the end
|
2020-05-31 17:04:21 +02:00 |
|
Yann Hamon
|
d94b0abf64
|
make logging non-concurrent, remove mutexes from output pkg
|
2020-05-31 17:03:02 +02:00 |
|
Yann Hamon
|
05da409a0a
|
Support multi-resource files, include kind/version in logging
|
2020-05-31 16:47:30 +02:00 |
|
Yann Hamon
|
c6526d7278
|
Default to non-strict
|
2020-05-31 04:36:29 +02:00 |
|
Yann Hamon
|
1f176b8255
|
Default to non-strict
|
2020-05-31 04:32:19 +02:00 |
|
Yann Hamon
|
11cfca1498
|
Better logging messages
|
2020-05-31 04:27:18 +02:00 |
|
Yann Hamon
|
ae5fbffb95
|
add quiet mode, fix race condition in statistics
|
2020-05-31 03:48:38 +02:00 |
|
Yann Hamon
|
b918da9c59
|
rework caching - less leak of goschema everywhere
|
2020-05-31 03:12:28 +02:00 |
|
Yann Hamon
|
8eb297d4c4
|
better logic mgmt in output plugins, go fmt
|
2020-05-31 02:10:19 +02:00 |
|
Yann Hamon
|
224e9ca17d
|
Add/Disable strict mode
|
2020-05-31 01:29:40 +02:00 |
|
Yann Hamon
|
30a6fe69b1
|
cache Schema unmarshalling, cache schema download failures (WIP)
|
2020-05-30 21:40:54 +02:00 |
|
Yann Hamon
|
87f1a0531e
|
run across multiple workers
|
2020-05-30 20:17:04 +02:00 |
|
Yann Hamon
|
bb478da7e0
|
enable printing a summary at the end of the run
|
2020-05-30 20:03:27 +02:00 |
|
Yann Hamon
|
5f3504724f
|
add support for local schemas
|
2020-05-30 18:28:04 +02:00 |
|
Yann Hamon
|
8a25986e79
|
add configurable output
|
2020-05-30 17:20:24 +02:00 |
|
Yann Hamon
|
2786a84a4c
|
add -dir parameter
|
2020-05-30 15:49:02 +02:00 |
|
Yann Hamon
|
81aca53a84
|
k8s version now a flag
|
2020-05-30 07:12:43 +02:00 |
|
Yann Hamon
|
3c6d3e351c
|
skipKinds + better error logging
|
2020-05-30 07:02:48 +02:00 |
|
Yann Hamon
|
d3ed871833
|
add schema caching
|
2020-05-30 06:10:58 +02:00 |
|
Yann Hamon
|
79c9197f38
|
better errors
|
2020-05-30 05:34:21 +02:00 |
|
Yann Hamon
|
96e35cb926
|
try to validate
|
2020-05-30 03:37:40 +02:00 |
|
Yann Hamon
|
fe33d14dc4
|
first commit
|
2020-05-30 02:44:13 +02:00 |
|