Skip to content

Support signature verification for OCI image volumes #1974

Description

@JasonPowr

Description

Kubernetes v1.36 introduced a new volume type that allows mounting OCI images directly as volumes (spec.volumes[].image). Currently, the policy controller only verifies signatures on container images (containers, initContainers, ephemeralContainers) and does not inspect volume definitions.

This means an unsigned or untrusted OCI image can be mounted into a pod via an image volume without any policy enforcement.

The controller should validate image references in spec.volumes[].image.reference against ClusterImagePolicy rules, the same way it already does for container images.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions