-
Notifications
You must be signed in to change notification settings - Fork 372
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: unpin images from unknown oci bundles
after importing all bundles from the oci directory we go through all containerd images and unpin all images that were imported from bundles that no longer exist on the system. we start now to add the following label when importing: - k0sproject.ocibundle.paths on this label we keep a list of all oci bundles that contain such image and we only unpin it if all the oci bundles were removed from the disk. as now we are unpinning images based on their presence on disk we start to operate also on rename and remove fs events. this commit also address an issue where we could leave a containerd connection opened.
- Loading branch information
1 parent
c924c1f
commit 01c203e
Showing
2 changed files
with
338 additions
and
20 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
Oops, something went wrong.