Skip to content

Commit

Permalink
Merge pull request #28 from datreeio/forcemove
Browse files Browse the repository at this point in the history
force move the files for kubeval support
  • Loading branch information
hadar-co authored Jul 5, 2022
2 parents 3cacea8 + 7f8d7a1 commit 8ae1222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utilities/crd-extractor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ python3 $TMP_CRD_DIR/openapi2jsonschema.py $TMP_CRD_DIR/*.yaml
# Copy and rename files to support kubeval
mkdir -p $SCHEMAS_DIR/master-standalone
cp $SCHEMAS_DIR/*.json $SCHEMAS_DIR/master-standalone
find $SCHEMAS_DIR/master-standalone -name '*json' -exec bash -c ' mv $0 ${0/\_/-stable-}' {} \;
find $SCHEMAS_DIR/master-standalone -name '*json' -exec bash -c ' mv -f $0 ${0/\_/-stable-}' {} \;

CYAN='\033[0;36m'
GREEN='\033[0;32m'
Expand Down

0 comments on commit 8ae1222

Please sign in to comment.