From 2bea4ba40773103991ecbac689739f866c237354 Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Sun, 28 Apr 2024 15:34:12 -0400 Subject: [PATCH] build: Remove misleading logs from crdgen.sh (#12989) --- hack/manifests/crdgen.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/manifests/crdgen.sh b/hack/manifests/crdgen.sh index 21e5b959c0f8..e75feab2af32 100755 --- a/hack/manifests/crdgen.sh +++ b/hack/manifests/crdgen.sh @@ -11,13 +11,12 @@ add_header() { controller-gen crd:maxDescLen=0 paths=./pkg/apis/... output:dir=manifests/base/crds/full find manifests/base/crds/full -name 'argoproj.io*.yaml' | while read -r file; do - echo "Patching ${file}" # remove junk fields go run ./hack/manifests cleancrd "$file" add_header "$file" # create minimal minimal="manifests/base/crds/minimal/$(basename "$file")" - echo "Creating ${minimal}" + echo "Creating minimal CRD file: ${minimal}" cp "$file" "$minimal" go run ./hack/manifests removecrdvalidation "$minimal" done