Skip to content

diskmanti/openshift-schemas

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSON schemas for use with Kubeval.

Updating the schemas

Prerequisites

Before updating the schemas, you will need the following:

  • Install openapi2jsonschema.

    If the openapi2jsonschema command crashes with KeyError: 'properties', you will need to use the patch available in PR #55.

    If the command crashes with an IndexError, you will probably need the patch available in PR #58.

  • Install the oc command.

    You can get the version of the oc command appropriate to our installed OpenShift version from the Command Line Tools page.

Generating updated schemas

To update these schemas:

make refresh all

The Makefile uses the oc command to obtain the server URL and authentication token, so you must be authenticated prior to running the above command.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Makefile 100.0%