mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
prevents garbage collection from removing pinned images
This commit is contained in:
@@ -371,6 +371,8 @@ type Image struct {
|
||||
Size int64
|
||||
// ImageSpec for the image which include annotations.
|
||||
Spec ImageSpec
|
||||
// Pin for preventing garbage collection
|
||||
Pinned bool
|
||||
}
|
||||
|
||||
// EnvVar represents the environment variable.
|
||||
|
Reference in New Issue
Block a user