Fix error in hack/verify-crds to check preserveUnknownFields
@@ -21,7 +21,7 @@ do
FAILS=true
fi
- if [[ $(./_output/tools/bin/yq r $f spec.preserveUnknownFields) == "null" ]]; then
+ if [[ $(./_output/tools/bin/yq r $f spec.preserveUnknownFields) != "false" ]]; then
echo "Error: pruning not enabled (spec.preserveUnknownFields != false) in $f"
FAILS=true
fi
