Codegen: rm client files before regen

This commit is contained in:
Tim Hockin 2023-01-05 00:05:17 -08:00
parent b852b36555
commit bb53ed4ff6
No known key found for this signature in database

View File

@ -646,6 +646,12 @@ function codegen::clients() {
done
fi
git_grep -l --null \
-e '^// Code generated by client-gen. DO NOT EDIT.$' \
-- \
':(glob)staging/src/k8s.io/client-go/**/*.go' \
| xargs -0 rm -f
"${clientgen}" \
--go-header-file "${BOILERPLATE_FILENAME}" \
--output-base "${KUBE_ROOT}/vendor" \