mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-13 15:09:22 +00:00
Fix typo in readme (#153)
This commit is contained in:
parent
33cdbf16a4
commit
752a33eaeb
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ JSON schema written to trainingjob-sagemaker-v1.json
|
||||||
After converting your CRDs to JSON schema files, you can use `kubeconform` to validate your CRs against them:
|
After converting your CRDs to JSON schema files, you can use `kubeconform` to validate your CRs against them:
|
||||||
|
|
||||||
```
|
```
|
||||||
# If the resource Kind is not found in deafult, also lookup in the schemas/ folder for a matching file
|
# If the resource Kind is not found in default, also lookup in the schemas/ folder for a matching file
|
||||||
$ kubeconform -schema-location default -schema-location 'schemas/{{ .ResourceKind }}{{ .KindSuffix }}.json' fixtures/custom-resource.yaml
|
$ kubeconform -schema-location default -schema-location 'schemas/{{ .ResourceKind }}{{ .KindSuffix }}.json' fixtures/custom-resource.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue