Move update-generated-runtime into common script
Now update-generated-proto-bindings rules all the api.pb.go generation. Running this shows no delta on the runtime.pb.go This exposes an issue in how protoc is called for protos that specify `go_package` which is fixed here. Not all of our protos specify that option (even though it is recommended), which will be fixed subsequently.
This commit is contained in:
@@ -27,6 +27,8 @@ source "${KUBE_ROOT}/hack/lib/protoc.sh"
|
||||
# Each element of this array is a directory containing subdirectories which
|
||||
# eventually contain a file named "api.proto".
|
||||
APIS=(
|
||||
"staging/src/k8s.io/cri-api/pkg/apis/runtime"
|
||||
|
||||
"staging/src/k8s.io/kubelet/pkg/apis/podresources"
|
||||
|
||||
"staging/src/k8s.io/kubelet/pkg/apis/deviceplugin"
|
||||
|
Reference in New Issue
Block a user