ImagePolicy

A Flux object that chooses which scanned image tag is the latest allowed one, for example by a semver range.

In more detail

Policies can sort tags by semver, alphabetically or numerically. A range such as ^1.4.0 accepts compatible 1.x releases from 1.4.0 onward and rejects a new major line.

Example

policy:
  semver:
    range: "^1.4.0"

Related terms

Taught in

References