Skip to content

Commit

Permalink
Merge pull request #10 from datreeio/hadar-co-patch-1
Browse files Browse the repository at this point in the history
Update crd-extractor
  • Loading branch information
hadar-co authored May 19, 2022
2 parents 692be99 + a52f60d commit 1353a47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crd-extractor/crd-extractor
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ if [ $? == 0 ]; then

printf "\nTo validate a CR using various tools, run the relevant command:\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}datree:${NC}\n\$ datree test --schema-location $HOME/.datree/crdSchemas/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json /path/to/file\n\n"
printf "\n- ${CYAN}datree:${NC}\n\$ datree test --schema-location '$HOME/.datree/crdSchemas/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' /path/to/file\n\n"
fi

rm -rf $TMP_CRD_DIR
rm -rf $TMP_CRD_DIR

0 comments on commit 1353a47

Please sign in to comment.