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