mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-27 13:15:36 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user