From 8f7a02cc011d078a171d9db9446236e120d15995 Mon Sep 17 00:00:00 2001 From: "Dr. Stefan Schimanski" Date: Fri, 15 Feb 2019 13:09:16 +0100 Subject: [PATCH] sample-controller: generate into pkg/generated package Kubernetes-commit: 4f0e9467b96b88e8ec3b7bd8593700e99634d007 --- hack/update-codegen.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 196973b09..5562672b9 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -26,10 +26,10 @@ CODEGEN_PKG=${CODEGEN_PKG:-$(cd "${SCRIPT_ROOT}"; ls -d -1 ./vendor/k8s.io/code- # k8s.io/kubernetes. The output-base is needed for the generators to output into the vendor dir # instead of the $GOPATH directly. For normal projects this can be dropped. "${CODEGEN_PKG}"/generate-groups.sh "deepcopy,client,informer,lister" \ - k8s.io/sample-controller/pkg/client k8s.io/sample-controller/pkg/apis \ + k8s.io/sample-controller/pkg/generated k8s.io/sample-controller/pkg/apis \ samplecontroller:v1alpha1 \ --output-base "$(dirname "${BASH_SOURCE[0]}")/../../.." \ --go-header-file "${SCRIPT_ROOT}"/hack/boilerplate.go.txt -# To use your own boilerplate text use: +# To use your own boilerplate text append: # --go-header-file "${SCRIPT_ROOT}"/hack/custom-boilerplate.go.txt