Skip to content

Commit

Permalink
Fix deepcopy gen (#15492)
Browse files Browse the repository at this point in the history
  • Loading branch information
skonto committed Sep 3, 2024
1 parent 372f5d1 commit f07e3d6
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
16 changes: 3 additions & 13 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,6 @@ group "Kubernetes Codegen"

source "${CODEGEN_PKG}/kube_codegen.sh"

kube::codegen::gen_helpers \
--boilerplate "${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt" \
"${REPO_ROOT_DIR}/pkg/apis"

kube::codegen::gen_client \
--boilerplate "${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt" \
--output-dir "${REPO_ROOT_DIR}/pkg/client" \
Expand Down Expand Up @@ -97,15 +93,9 @@ ${KNATIVE_CODEGEN_PKG}/hack/generate-knative.sh "injection" \

group "Deepcopy Gen"

${GOPATH}/bin/deepcopy-gen \
--output-file zz_generated.deepcopy.go \
--go-header-file "${boilerplate}" \
knative.dev/serving/pkg/apis/config \
knative.dev/serving/pkg/reconciler/route/config \
knative.dev/serving/pkg/autoscaler/config/autoscalerconfig \
knative.dev/serving/pkg/autoscaler/scaling \
knative.dev/serving/pkg/deployment \
knative.dev/serving/pkg/gc
kube::codegen::gen_helpers \
--boilerplate "${REPO_ROOT_DIR}/hack/boilerplate/boilerplate.go.txt" \
"${REPO_ROOT_DIR}/pkg"

group "Generating API reference docs"

Expand Down
12 changes: 11 additions & 1 deletion pkg/reconciler/certificate/config/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f07e3d6

Please sign in to comment.