Kubernetes CRDs (CustomResourceDefinition) in JSON schema format.
Go to file
Robert Kaussow 1bec9029a2
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
feat: add objectbucket crds (#80)
Reviewed-on: #80
Co-authored-by: Robert Kaussow <mail@thegeeklab.de>
Co-committed-by: Robert Kaussow <mail@thegeeklab.de>
2024-04-02 15:10:41 +02:00
.woodpecker feat: add metallb crds (#75) 2024-03-26 13:13:27 +01:00
templates fix: dont embed all schemas in themselves 2024-03-26 13:59:05 +01:00
.gitignore initial commit 2023-03-08 12:54:34 +01:00
.prettierignore ci: migrate to woodpecker 2024-01-16 14:13:39 +01:00
generate.sh feat: add objectbucket crds (#80) 2024-04-02 15:10:41 +02:00
LICENSE initial commit 2023-03-08 12:54:34 +01:00
Makefile chore: ad option to generate single crds (#81) 2024-04-02 14:57:12 +02:00
README.md ci: migrate to woodpecker 2024-01-16 14:13:39 +01:00
renovate.json chore: enable renovate automerge for k8up 2023-04-24 16:16:02 +02:00

crds-catalog

Build Status License: MIT

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' \
    <path/to/manifest.yaml>

License

This project is licensed under the MIT License - see the LICENSE file for details.