Skip to content

Prevent user from creating ActorTemplates with un-pinned images #10

Closed

Description

@ahmedtd

Today, if you put a non-pinned image reference in Spec.Containers[].Image, the workload will start up, but the image will always be a cache miss in the atelet image pull cache.

However, if the actual image pointed by the tag changes, this will invalidate all gvisor snapshots that were based on the old image.

We should using a ValidatingAdmissionPolicy to ensure that all images in an ActorTemplate are pinned to a particular SHA, and we should prevent mutation of the ActorTemplate once it is created.

Activity

  1. added
    kind/feature
    on May 21, 2026
  2. BenTheElder commented on May 21, 2026

    @BenTheElder
    Collaborator

    Parsing image references is fraught, but we can dodge that.

    Should be able to use a simple VAP that requires @ in the image since that's not valid except to refer to a digest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions