mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +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:
parent
235d4ffc18
commit
f34782bb92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user