kubeconform
kubeconform | yaml-grammar | |
---|---|---|
4 | 3 | |
1,939 | 61 | |
- | - | |
5.5 | 0.0 | |
1 day ago | almost 2 years ago | |
Go | Perl | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
kubeconform
-
Dealing with Yaml files
If you want to validate your resources against the schema of the resources (mind you also crds) you can use kubeconform.
-
[Show] Detecting YAML Issues Early
How is it different from https://github.com/yannh/kubeconform?
-
Securing Kubernetes Deployments
wget https://github.com/yannh/kubeconform/releases/download/v0.4.12/kubeconform-linux-amd64.tar.gz tar xf kubeconform-linux-amd64.tar.gz sudo cp kubeconform /usr/local/bin checkout kubeconform --summary deployment.yml
-
A Deep Dive Into Kubernetes Schema Validation
Kubeval and kubeconform are command-line tools that were developed with the intent to validate Kubernetes manifests without the requirement of having a running Kubernetes environment. Because kubeconform is based on kubeval, they operate similarly — verification is performed against pre-generated JSON schemas that are created from the OpenAPI specifications (swagger.json) for each particular Kubernetes version. All that remains to run the schema validation tests is to point the tool executable to a single manifest, directory or pattern.
yaml-grammar
-
Dealing with Yaml files
I second that. YAML is a terrible format, to the point that the official repository says it's almost impossible to parse (see for yourself: https://github.com/yaml/yaml-grammar).
- ce proiecte aveti pe github / ce ati facut pana acum?
-
No YAML
It used an off-the-shelf library, I don't remember which one anymore. I don't think it really matters though -- YAML is a format, not a parser.
Per the YAML docs [0], "Creating a fully compliant parser has proven almost impossible." Pretty much every YAML parser out there is going to have its own idiosyncratic subset that it handles. That doesn't make them not-YAML.
(This does make YAML a horrible data exchange format. No argument there!)
[0]: https://github.com/yaml/yaml-grammar
What are some alternatives?
kubeval - Validate your Kubernetes configuration files, supports multiple Kubernetes versions
json5 - JSON5 — JSON for Humans
kubernetes-schema-validation - resources for the blog post about Kubernetes schema validation
starlark-go - Starlark in Go: the Starlark configuration language, implemented in Go
kube-score - Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.
sublime-hjson - Hjson support for Sublime Text
enhancements - Enhancements tracking repo for Kubernetes
cue - CUE has moved to https://github.com/cue-lang/cue
kubernetes-json-schema - Schemas for every version of every object in every version of Kubernetes
50days50projects - These are samll projects that will lead to a bigger one
kpt - Automate Kubernetes Configuration Editing
FastYaml - YAML Parser based on ANTLR parser generator