hack: re-enable protobindings which use k8s.io/api

Before the workspace changes, it was possible to include proto files via the
vendor path and the symlinks there. Now those symlinks are gone, so the search
path for them must be given separately.
This commit is contained in:
Patrick Ohly 2024-03-01 21:46:46 +01:00
parent 235d4ffc18
commit f34782bb92

View File

@ -69,6 +69,7 @@ function kube::protoc::protoc() {
PATH="${gogopath}:${PATH}" protoc \
--proto_path="$(pwd -P)" \
--proto_path="${KUBE_ROOT}/vendor" \
--proto_path="${KUBE_ROOT}/staging/src" \
--proto_path="${KUBE_ROOT}/third_party/protobuf" \
--gogo_out=paths=source_relative,plugins=grpc:. \
api.proto