Skip to content

Commit

Permalink
Merge pull request #30 from datreeio/linux-mv
Browse files Browse the repository at this point in the history
Update crd-extractor.sh
  • Loading branch information
hadar-co authored Jul 10, 2022
2 parents 7841c99 + c0ff4f2 commit 802be9a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Utilities/crd-extractor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ cd $SCHEMAS_DIR
python3 $TMP_CRD_DIR/openapi2jsonschema.py $TMP_CRD_DIR/*.yaml

# Copy and rename files to support kubeval
rm -rf $SCHEMAS_DIR/master-standalone
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 -f $0 ${0/\_/-stable-}' {} \;
Expand Down

0 comments on commit 802be9a

Please sign in to comment.