File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
apiextensions-apiserver/hack Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -776,6 +776,7 @@ function codegen::clients() {
776776 || true) \
777777 | xargs -0 rm -f
778778
779+ # kcp: TODO(gman0) re-add `--prefers-protobuf` once kcp-dev/{client-go,kcp} supports protobuf codec.
779780 client-gen \
780781 -v " ${KUBE_VERBOSE} " \
781782 --go-header-file " ${BOILERPLATE_FILENAME} " \
@@ -785,10 +786,10 @@ function codegen::clients() {
785786 --input-base=" k8s.io/api" \
786787 --plural-exceptions " ${PLURAL_EXCEPTIONS} " \
787788 --apply-configuration-package " ${APPLYCONFIG_PKG} " \
788- --prefers-protobuf \
789789 $( printf -- " --input %s" " ${gv_dirs[@]} " ) \
790790 " $@ "
791791
792+
792793 if [[ " ${DBG_CODEGEN} " == 1 ]]; then
793794 kube::log::status " Generated client code"
794795 fi
Original file line number Diff line number Diff line change @@ -45,12 +45,12 @@ kube::codegen::gen_openapi \
4545 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
4646 " ${SCRIPT_ROOT} /pkg"
4747
48+ # kcp: TODO(gman0) re-add `--prefers-protobuf` once kcp-dev/{client-go,kcp} supports protobuf codec.
4849kube::codegen::gen_client \
4950 --with-watch \
5051 --with-applyconfig \
5152 --output-dir " ${SCRIPT_ROOT} /pkg/client" \
5253 --output-pkg " ${THIS_PKG} /pkg/client" \
5354 --versioned-name " clientset" \
5455 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
55- --prefers-protobuf \
5656 " ${SCRIPT_ROOT} /pkg/apis"
Original file line number Diff line number Diff line change @@ -44,12 +44,12 @@ kube::codegen::gen_openapi \
4444 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
4545 " ${SCRIPT_ROOT} /pkg/apis"
4646
47+ # kcp: TODO(gman0) re-add `--prefers-protobuf` once kcp-dev/{client-go,kcp} supports protobuf codec.
4748kube::codegen::gen_client \
4849 --with-watch \
4950 --output-dir " ${SCRIPT_ROOT} /pkg/client" \
5051 --output-pkg " ${THIS_PKG} /pkg/client" \
5152 --clientset-name " clientset_generated" \
5253 --versioned-name " clientset" \
5354 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
54- --prefers-protobuf \
5555 " ${SCRIPT_ROOT} /pkg/apis"
Original file line number Diff line number Diff line change @@ -32,9 +32,9 @@ kube::codegen::gen_helpers \
3232 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
3333 " ${SCRIPT_ROOT} /pkg/apis"
3434
35+ # kcp: TODO(gman0) re-add `--prefers-protobuf` once kcp-dev/{client-go,kcp} supports protobuf codec.
3536kube::codegen::gen_client \
3637 --output-dir " ${SCRIPT_ROOT} /pkg/client" \
3738 --output-pkg " ${THIS_PKG} /pkg/client" \
3839 --boilerplate " ${SCRIPT_ROOT} /hack/boilerplate.go.txt" \
39- --prefers-protobuf \
4040 " ${SCRIPT_ROOT} /pkg/apis"
You can’t perform that action at this time.
0 commit comments