Skip to content

xgen-cloud/kube-crds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commonly used CRDs in a format that kubeval/kubeconform can use.

kubeconform -summary -strict -schema-location default -schema-location path/to/kube-crds path/to/hydrated.yaml

Schema files were created based on the script in the kubeconform repo. A lightly edited version of this script exists here as scripts/openapi2jsonschema.py, specifcally supporting the x-kubernetes-preserve-unknown-fields field.

Make sure to run with export FILENAME_FORMAT='{kind}-{group}-{version}'. Schema files should be in both -strict and non-strict directories.

# in respective subdirectory, master-standalone and master-standalone-strict
../scripts/openapi2jsonschema.py path/to/source-crds.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages