From 0e0749994666a407bec403857d769ec2986fd8ef Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Sat, 31 Oct 2020 14:32:25 +0100 Subject: [PATCH] Readme update --- Readme.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index 3a33922..2f9b52b 100644 --- a/Readme.md +++ b/Readme.md @@ -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 ``` -### 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 `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 ``` -### Openshift support - You can validate Openshift manifests using a custom schema location. Set the OpenShift version to validate against using -kubernetes-version.