Skip to content

Commit 36c8049

Browse files
jparrillk8s-publishing-bot
authored andcommitted
Ignore vendor folder on client code generation
During the client code generation, the vendor folder now will be ignored by default. Signed-off-by: Juan Manuel Parrilla Madrid <[email protected]> Kubernetes-commit: 5cfd75a84ea568767919d71fb024fd2ed3e5c4f7
1 parent a748e41 commit 36c8049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kube_codegen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function kube::codegen::internal::git_find() {
3333
function kube::codegen::internal::git_grep() {
3434
# We want to include modified and untracked files because this might be
3535
# running against code which is not tracked by git yet.
36-
git grep --untracked "$@"
36+
git grep --untracked "$@" ":(exclude)vendor/"
3737
}
3838

3939
# Generate tagged helper code: conversions, deepcopy, and defaults

0 commit comments

Comments
 (0)