diff --git a/pkg/apis/machineconfiguration.openshift.io/v1/types.go b/pkg/apis/machineconfiguration.openshift.io/v1/types.go index c0b2057fdd..196da30ceb 100644 --- a/pkg/apis/machineconfiguration.openshift.io/v1/types.go +++ b/pkg/apis/machineconfiguration.openshift.io/v1/types.go @@ -543,6 +543,22 @@ type ContainerRuntimeConfiguration struct { // defaultRuntime is the name of the OCI runtime to be used as the default. DefaultRuntime ContainerRuntimeDefaultRuntime `json:"defaultRuntime,omitempty"` + + // pinnedImages is a list of images that will be pinned and pre-loaded in all the nodes of + // the cluster. Translates into a new pin.conf file inside the /etc/crio/crio.conf.d + // directory with content similar to this: + // + // pinned_images = [ + // "quay.io/openshift-release-dev/ocp-release@sha256:...", + // "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:...", + // "quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:...", + // ... + // ] + // + // The CRI-O service will be reloaded when this list is changed. + // + // +optional + PinnedImages []string `json:"pinnedImages,omitempty"` } type ContainerRuntimeDefaultRuntime string