Kubernetes CRDs (CustomResourceDefinition) in JSON schema format.
Robert Kaussow
f9dfe67eeb
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #54 Co-authored-by: Robert Kaussow <mail@thegeeklab.de> Co-committed-by: Robert Kaussow <mail@thegeeklab.de> |
||
---|---|---|
templates | ||
.drone.yml | ||
.gitignore | ||
.prettierignore | ||
generate.sh | ||
LICENSE | ||
Makefile | ||
README.md | ||
renovate.json |
crds-catalog
This repository to aggregatepopular Kubernetes CRDs (CustomResourceDefinition) in JSON schema format. These schemas can be used by various tools such as Datree, Kubeconform and Kubeval to perform validation on custom (and native) Kuberentes resources. Running Kubernetes schema validation checks helps apply the "shift-left approach" on machines without giving them access to your cluster (e.g. locally or on CI).
The project is inspired by Datree's CRDs-catalog and was created to manage CRDs required for my own Kubernetes deployments.
Usage
Schemes are generated by the CI and automatically pushed to the catalog
branch.
Kubeconform
kubeconform -schema-location default -schema-location 'https://gitea.rknet.org/infra/crds-catalog/raw/branch/catalog/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json' [MANIFEST]
License
This project is licensed under the MIT License - see the LICENSE file for details.