From 8d7ccca107c8ffa59a79e1144c1dcb1006ad4a87 Mon Sep 17 00:00:00 2001 From: hadar-co Date: Tue, 18 Oct 2022 15:08:46 +0300 Subject: [PATCH] Update crd-extractor.sh (#66) --- Utilities/crd-extractor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/crd-extractor.sh b/Utilities/crd-extractor.sh index d8c5c30d..f0ad7019 100755 --- a/Utilities/crd-extractor.sh +++ b/Utilities/crd-extractor.sh @@ -74,7 +74,7 @@ if [ $conversionResult == 0 ]; then printf "${GREEN}Successfully converted $NUM_OF_CRDS CRDs to JSON schema${NC}\n" printf "\nTo validate a CR using various tools, run the relevant command:\n" - printf "\n- ${CYAN}datree:${NC}\n\$ datree test --schema-location '$HOME/.datree/crdSchemas/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' /path/to/file\n" + printf "\n- ${CYAN}datree:${NC}\n\$ datree test /path/to/file\n" printf "\n- ${CYAN}kubeconform:${NC}\n\$ kubeconform -summary -output json -schema-location default -schema-location '$HOME/.datree/crdSchemas/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' /path/to/file\n" printf "\n- ${CYAN}kubeval:${NC}\n\$ kubeval --additional-schema-locations file:\"$HOME/.datree/crdSchemas\" /path/to/file\n\n" fi