Skip to content

Commit

Permalink
✏️ Use KubeCodeGen instead of generate-groups script, because it is n…
Browse files Browse the repository at this point in the history
…ow deprecated
  • Loading branch information
Kevin PEREZ committed Aug 2, 2024
1 parent cfaaa6a commit d3938d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ CODEGEN_PKG=${CODEGEN_PKG:-$(
# --output-base because this script should also be able to run inside the vendor dir of
# 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.
bash "${CODEGEN_PKG}"/generate-groups.sh "informer,deepcopy,client,lister" \
bash "${CODEGEN_PKG}"/kube_codegen.sh "informer,deepcopy,client,lister" \
github.com/ca-gip/kubi/pkg/generated github.com/ca-gip/kubi/pkg/apis \
cagip:v1 --go-header-file "${SCRIPT_ROOT}"/hack/boilerplate.go.txt

0 comments on commit d3938d3

Please sign in to comment.