diff --git a/scripts/validate.sh b/scripts/validate.sh index 4a07b716a..b93ee2a19 100755 --- a/scripts/validate.sh +++ b/scripts/validate.sh @@ -42,7 +42,7 @@ curl -sL https://github.com/fluxcd/flux2/releases/latest/download/crd-schemas.ta find . -type f -name '*.yaml' -print0 | while IFS= read -r -d $'\0' file; do echo "INFO - Validating $file" - yq e 'true' "$file" > /dev/null + cat $file | yq > /dev/null done echo "INFO - Validating clusters"