instrumenta / kubernetes-json-schema

Schemas for every version of every object in every version of Kubernetes
https://kubernetesjsonschema.dev
Other
303 stars 134 forks source link

Using schemas from pull requests #23

Open pbiggar opened 3 years ago

pbiggar commented 3 years ago

For other folks who are seeing that this repo isn't updated regularly, there is a way to use schemas from the pull requests that folks like @sturman and @brendanjryan have kindly provided.

For example, to use the schema from 1.16.10, you can use the raw files from that commit in kubeval:

kubeval --additional-schema-locations https://raw.githubusercontent.com/instrumenta/kubernetes-json-schema/746d95595310baddb59477bde49bfa7e6a4eecb7