Lucien Boix
b7d7b4d0dc
Update Readme.md ( #232 )
...
* Update Readme.md
Just adding details for how to use the script command with args for the Gitlab CI usecase
* Update Readme.md
Good catch!
Co-authored-by: Yann Hamon <yannh@users.noreply.github.com>
---------
Co-authored-by: Yann Hamon <yannh@users.noreply.github.com>
2023-09-19 00:54:24 +02:00
Yann Hamon
2e50b79b16
Update Go and Goreleaser to 1.20, update dependencies ( #231 )
2023-09-04 00:11:25 +02:00
Yann Hamon
13a78ebad8
Avoid unnecessary type conversions ( #222 )
2023-07-16 10:27:26 +02:00
Yann Hamon
ae67bb4709
Force Draft version of JsonSchema ( #221 )
...
* Force Draft version of JsonSchema
* Add test validating using CRD that misses explicit draft version
2023-07-16 09:42:11 +02:00
Yamamoto, Hirotaka
278385f4c9
Update Readme.md to add fullgroup explanation ( #220 )
...
This is a follow-up to #219 to add a short description on how to use the `fullgroup` variable.
2023-07-09 13:46:12 +02:00
Yamamoto, Hirotaka
452f1fe1db
Fix #130 in a backward-compatible way ( #219 )
...
This is an alternative way to fix #130 .
Instead of changing the `group` variable content, this commit adds
a new variable `fullgroup` that does not split the group components.
With this, users can specify the filename format like:
FILENAME_FORMAT='{fullgroup}-{version}-{kind}'
2023-07-09 12:51:30 +02:00
Yann Hamon
f0a7d5203d
Update Readme.md
2023-06-26 14:48:15 +02:00
Will Yardley
71fd5f8386
fix: add missing output formats in error message ( #213 )
...
- Add missing 'junit' and 'pretty' output formats.
- Use quotes vs. backticks around command name
2023-06-14 22:41:51 +02:00
Denis N. Antonioli
c8bce62898
Fix for 196: Multi-architecture image ( #204 )
...
* 196: qemu
* 196: multi-arch; see also https://blog.devgenius.io/goreleaser-build-multi-arch-docker-images-8dd9a7903675
2023-06-07 12:26:22 +02:00
Juan Ignacio Donoso
065fad003f
Fix anchored link on Readme.md ( #205 )
...
The in page link to the CustomResourceDefinition (CRD) Support section is not working
2023-06-07 12:22:58 +02:00
Yann Hamon
c1a2c159de
Revert "Add support for Arm64 Docker images ( #201 )"
...
This reverts commit 65cfe7e16e .
2023-05-14 12:52:13 +02:00
Yann Hamon
65cfe7e16e
Add support for Arm64 Docker images ( #201 )
2023-05-14 12:51:53 +02:00
Yann Hamon
ce2f6de185
Move cfg parsing out of realmain, rename realmain to kubeconform
2023-04-23 14:34:25 +02:00
Yann Hamon
ad935b7e32
Add JSON/YAML annotations to Config struct
...
Co-authored-by: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com>
2023-04-23 13:55:09 +02:00
Yann Hamon
d038bf8840
Do not hardcode output stream in pkg/output
...
Co-authored-by: Ahmed AbouZaid <6760103+aabouzaid@users.noreply.github.com>
2023-04-23 13:39:43 +02:00
Yann Hamon
8bc9f42f39
Add support for "pretty" output ( #195 )
...
* feat: add pretty output format
---------
Co-authored-by: William Yardley <wyardley@users.noreply.github.com>
2023-04-22 18:41:51 +02:00
Mateusz Łoskot
9294e94a8d
docs: Add winget as installation method on Windows ( #192 )
...
The kubeconform package has been accepted to winget,
see https://github.com/microsoft/winget-pkgs/pull/101691
2023-04-13 09:56:49 +02:00
Benjamin Muschko
16d52804d4
Fix CI badge image ( #184 )
...
I guess the name of the CI build has been changed which led to a broken image.
2023-03-28 18:53:49 +02:00
Aleksey Levenstein
e3bb34851d
fix: expose error instance path instead of schema path ( #177 )
2023-02-27 16:16:00 +01:00
w7089
aaecabe0b7
support disabling ssl validation in openapi2jsonschema.py ( #167 )
...
* support disabling ssl validation in openapi2jsonschema.py
* added acceptance tests for disable ssl feature
* speed up bats docker build
2023-02-26 12:33:54 +01:00
Yann Hamon
563e1db94c
Try to expose JSON paths ( #173 )
...
* Try to expose JSON paths
* update validationErrors format in json output
* Add test to JSON output with validationError
2023-02-26 12:32:51 +01:00
Rick
9860cde144
feat: support to set an alternative image owner ( #164 )
...
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-01-25 01:26:53 +01:00
Yann Hamon
ee7c498580
Migrate to santhosh-tekuri/jsonschema ( #168 )
...
* Migrate to santhosh-tekuri/jsonschema
2023-01-23 19:22:20 +01:00
Jiri Tyr
84afe70659
Documenting Helm support via 3rd party repo ( #158 )
2022-12-27 17:21:12 +01:00
Jeffrey Ying
752a33eaeb
Fix typo in readme ( #153 )
2022-12-02 19:34:19 +01:00
Yann Hamon
33cdbf16a4
Update LICENSE
2022-11-28 10:02:25 +01:00
Eyar Zilberman
f94844183f
update anchor links in readme ( #150 )
...
* add constructor to handle equal sign (=)
Equal sign (=) was not parsed properly by pyyaml.
Added constructor to parse equal sign as string.
Related issue: https://github.com/yannh/kubeconform/issues/103
* Update Readme.md
* Update Readme.md
2022-11-10 13:28:58 +01:00
Eyar Zilberman
9d34445328
update readme structure and info ( #149 )
...
* add constructor to handle equal sign (=)
Equal sign (=) was not parsed properly by pyyaml.
Added constructor to parse equal sign as string.
Related issue: https://github.com/yannh/kubeconform/issues/103
* Update Readme.md
2022-11-10 12:36:28 +01:00
Yann Hamon
a31707ca58
Add opencontainers label ( #138 )
2022-10-16 15:50:02 +02:00
Yann Hamon
46b7622a08
Add informations how to use Kubeconform in Gitlab-CI ( #139 )
2022-10-16 15:46:22 +02:00
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
Yann Hamon
466ec73ed7
Update goreleaser ( #137 )
...
* Update goreleaser
2022-10-16 14:14:09 +02:00
Yann Hamon
dbcd787256
Do not expose internal CPU profiling option as flag ( #136 )
2022-10-16 14:06:42 +02:00
Yann Hamon
f5338b07f9
Validate JUnit output against Jenkins JUnit XSD ( #134 )
...
* Validate JUnit output against Jenkins JUnix XSD
* Add missing Jenkins JUnit XSD
* Add time to TestCase for #127
2022-10-16 13:52:04 +02:00
Yann Hamon
f68d6ec6ea
Add debug information to help understand failures finding schemas ( #133 )
...
* Add debug information to help understand failures finding schemas
* Add debug information to help understand failures finding schemas
2022-10-16 12:28:11 +02:00
Yann Hamon
3cb76bc5e6
Update fixture file to use no hash function
2022-09-02 10:39:16 +02:00
John-Michael Mulesa
5cbbd1a898
Upgrade hash to sha256. ( #126 )
2022-09-02 10:28:07 +02:00
Thomas Güttler
321cc0ea1d
remove link to dead project ( #125 )
...
the old repo has not updates since two years. It looks dead.
2022-08-31 09:08:01 +02:00
hadar-co
5e63bc5ad7
add {{ .Group }} variable to schema location options ( #120 )
2022-07-16 14:13:17 +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
Calle Pettersson
7bf1e01dec
fix: change flag parse error handling to return errors instead of exiting ( #107 )
...
* fix: change flag parse error handling to return errors instead of exiting
Having ExitOnError in combination with SetOutput to a buffer instead of
stdout/stderr means flags.Parse output is swallowed and kubeconform silently
exits directly with exit code 2 instead of returning the error.
Setting ContinueOnError instead returns the error, and writes usage help to
the buffer, so error handling code in main is reached.
* Add test for parsing incorrect flags
Co-authored-by: Yann Hamon <yann@mandragor.org>
2022-06-19 18:38:52 +02:00
Damian Kula
014cbf754f
Adds info about installation via built in Go package manger ( #116 )
2022-06-19 18:23:23 +02:00
Andrzej Theodorko
f8ab9ae49e
Fix grammar in README.md ( #114 )
2022-06-03 13:11:11 +02:00
Eyar Zilberman
b5f34caa70
add constructor to handle equal sign (=) ( #104 )
...
Equal sign (=) was not parsed properly by pyyaml.
Added constructor to parse equal sign as string.
Related issue: https://github.com/yannh/kubeconform/issues/103
2022-04-06 09:12:48 +02:00
Carlos Sanchez
932b35d71f
chore: print the url of failed download ( #96 )
2022-02-22 23:59:39 +01:00
Yann Hamon
c5f7348af8
remove accidentally commited binary
2022-02-07 01:20:38 +01:00
Yann Hamon
85b30f8c2a
Improve handling of cmdline errors ( #91 )
...
Improve handling of cmdline errors
2022-01-06 12:39:24 +01:00
Yann Hamon
607c90a0a9
Minor css updates
2021-12-20 00:43:36 +01:00
Yann Hamon
d10c9bde67
Update website
2021-12-19 23:46:04 +01:00
Yann Hamon
2b3139b1db
Add cname to website
2021-12-19 22:57:50 +01:00