CertGrid CertGrid
Hands-on Lab·Kubernetes and Cloud Native Security Associate

Image Tags, Digests and Pull Policy

Supply chain security starts with a question with a surprising answer: what did this Pod actually run? A tag is a mutable pointer, and the cluster records what it resolved to in a different field. This guide reads both, then makes pinning compulsory with one CEL expression.

Platform Security Guide 33 of 42 Intermediate

Written against the versions above. `imagePullPolicy` defaults from the tag: `Always` for `:latest`, `IfNotPresent` otherwise. The `AlwaysPullImages` admission plugin exists and is not enabled by default.

The cka5001 cluster: one control plane and 3 schedulable workers, on Cilium.
Server NameIP AddressOSRolesCPURAMHDD
CKA5001192.168.0.41Ubuntu 26.04 LTSControl Plane Node (tainted NoSchedule)2 Core4 GB50 GB
CKA5001-NODE01192.168.0.42Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE02192.168.0.43Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB
CKA5001-NODE03192.168.0.44Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

Before you start

  1. Two fields, and only one of them is what you wrote

  2. The pull policy neither Pod set

  3. The plugin that would close the cache hole

  4. Pinning to what actually ran

  5. Making it compulsory

Official sources