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
- ImageRepository — A Flux object that tells the image reflector controller which registry image to scan for tags, and how often.
- semantic versioning — A version numbering scheme of three numbers, major.minor.patch, raised for breaking changes, new features and fixes respectively.
- ImageUpdateAutomation — A Flux object that writes the tag or digest chosen by an ImagePolicy into files in a Git source and commits the change.
Taught in
- Image Update Automation — Continuous Integration & Continuous Delivery Pipelines