mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-20 10:27:02 +00:00
Readme update
This commit is contained in:
parent
ea8ecafa38
commit
0e07499946
1 changed files with 1 additions and 3 deletions
|
|
@ -116,7 +116,7 @@ fixtures/invalid.yaml - ReplicationController bob is invalid: Invalid type. Expe
|
||||||
Summary: 65 resources found in 34 files - Valid: 55, Invalid: 2, Errors: 8 Skipped: 0
|
Summary: 65 resources found in 34 files - Valid: 55, Invalid: 2, Errors: 8 Skipped: 0
|
||||||
```
|
```
|
||||||
|
|
||||||
### Overriding schemas location - CRD support
|
### Overriding schemas location - CRD and Openshift support
|
||||||
|
|
||||||
When the `-schema-location` parameter is not used, kubeconform will default to downloading schemas from
|
When the `-schema-location` parameter is not used, kubeconform will default to downloading schemas from
|
||||||
`https://kubernetesjsonschema.dev`. Kubeconform however supports passing one, or multiple, schemas
|
`https://kubernetesjsonschema.dev`. Kubeconform however supports passing one, or multiple, schemas
|
||||||
|
|
@ -143,8 +143,6 @@ in a local folder - for example schemas. Then we specify this folder as an addit
|
||||||
$ ./bin/kubeconform -registry https://kubernetesjsonschema.dev -schema-location 'schemas/{{ .ResourceKind }}{{ .KindSuffix }}.json' fixtures/custom-resource.yaml
|
$ ./bin/kubeconform -registry https://kubernetesjsonschema.dev -schema-location 'schemas/{{ .ResourceKind }}{{ .KindSuffix }}.json' fixtures/custom-resource.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Openshift support
|
|
||||||
|
|
||||||
You can validate Openshift manifests using a custom schema location. Set the OpenShift version to validate
|
You can validate Openshift manifests using a custom schema location. Set the OpenShift version to validate
|
||||||
against using -kubernetes-version.
|
against using -kubernetes-version.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue