flux v2.9.5

ImagePolicy.spec

ImagePolicySpec defines the parameters for calculating the ImagePolicy.

6 fields
ImagePolicy.spec fields and descriptions
Field / TypeDescription
digestReflectionPolicy
string

DigestReflectionPolicy governs the setting of the `.status.latestRef.digest` field. Never: The digest field will always be set to the empty string. IfNotPresent: The digest field will be set to the digest of the elected latest image if the field is empty and the image did not change. Always: The digest field will always be set to the digest of the elected latest image. Default: Never.

  • enum: ["Always","IfNotPresent","Never"]
  • default: "Never"
object

FilterTags enables filtering for only a subset of tags based on a set of rules. If no rules are provided, all the tags from the repository will be ordered and compared.

object required

ImageRepositoryRef points at the object specifying the image being scanned

interval
string

Interval is the length of time to wait between refreshing the digest of the latest tag when the reflection policy is set to "Always". Defaults to 10m.

  • pattern: ^([0-9]+(\.[0-9]+)?(ms|s|m|h))+$
object required

Policy gives the particulars of the policy to be followed in selecting the most recent image

suspend
boolean

This flag tells the controller to suspend subsequent policy reconciliations. It does not apply to already started reconciliations. Defaults to false.