Skip to content

Commit

Permalink
force move the files for kubeval support
Browse files Browse the repository at this point in the history
  • Loading branch information
hadar-co committed Jul 5, 2022
1 parent 3cacea8 commit 7f8d7a1
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 7f8d7a1

Please sign in to comment.