mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
update readme
This commit is contained in:
parent
affece0b75
commit
31c4c4e20d
1 changed files with 1 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ in a local folder - for example schemas. Then we specify this folder as an addit
|
|||
$ ./bin/kubeconform -registry kubernetesjsonschema.dev -schema-location 'schemas/{{ .ResourceKind }}{{ .KindSuffix }}.json' fixtures/custom-resource.yaml
|
||||
```
|
||||
|
||||
### Generating a JSON schema from an OpenAPI file
|
||||
### Converting an OpenAPI file to a JSON Schema
|
||||
|
||||
Kubeconform uses JSON schemas to validate Kubernetes resources. For Custom Resource, the CustomResourceDefinition
|
||||
first needs to be converted to JSON Schema. A script is provided to convert these CustomResourceDefinitions
|
||||
|
|
|
|||
Loading…
Reference in a new issue