From f34782bb9275000b78082f318f1086f6acdd641d Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Fri, 1 Mar 2024 21:46:46 +0100 Subject: [PATCH] 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. --- hack/lib/protoc.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/hack/lib/protoc.sh b/hack/lib/protoc.sh index 521bb3c5d9b..0812f76eaee 100644 --- a/hack/lib/protoc.sh +++ b/hack/lib/protoc.sh @@ -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