-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exporter: workaround containerd client issue with grpc size limits
The grpc client for containerd won't properly break up the writes for a file when used in combination with `bytes.NewReader` and `content.WriteBlob`. To workaround the issue, this wraps the container image exporter for containerd with a bytes reader that will chunk the `Write` calls instead of relying on the client to do the chunking. See containerd/containerd#11440 for the upstream containerd issue. Signed-off-by: Jonathan A. Sternberg <[email protected]>
- Loading branch information
1 parent
a20380c
commit 1caf5b4
Showing
1 changed file
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters