create digets when preloading images into node

This commit is contained in:
Benjamin Elder
2022-05-10 23:46:13 -07:00
parent a2f4dcbe65
commit 99ffaff111

View File

@@ -57,7 +57,7 @@ func (c *containerdImporter) Pull(image, platform string) error {
func (c *containerdImporter) LoadCommand() exec.Cmd {
return c.containerCmder.Command(
// TODO: ideally we do not need this in the future. we have fixed at least one image
"ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "--no-unpack", "-",
"ctr", "--namespace=k8s.io", "images", "import", "--all-platforms", "--no-unpack", "--digests", "-",
)
}