ImagePolicy.spec
ImagePolicySpec defines the parameters for calculating the ImagePolicy.
| Field / Type | Description |
|---|---|
digestReflectionPolicy | 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.
|
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. | |
ImageRepositoryRef points at the object specifying the image being scanned | |
interval | 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.
|
Policy gives the particulars of the policy to be followed in selecting the most recent image | |
suspend | This flag tells the controller to suspend subsequent policy reconciliations. It does not apply to already started reconciliations. Defaults to false. |