Skip to content

Commit 887803c

Browse files
committed
fixup! Add deprecation handling for .Updated template field
Update docs to reflect .Updated field removal Signed-off-by: cappyzawa <[email protected]>
1 parent 1ee4b77 commit 887803c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/spec/v1beta2/imageupdateautomations.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -374,12 +374,11 @@ spec:
374374
Automated image update by Flux
375375
```
376376

377-
**Deprecation Note:** The `Updated` template data available in v1beta1 API is
378-
deprecated. `Changed` template data is recommended for template data, as it
379-
accommodates for all the updates, including partial updates to just the image
380-
name or the tag, not just full image with name and tag update. The old templates
381-
will continue to work in v1beta2 API as `Updated` has not been removed yet. In
382-
the next API version, `Updated` may be removed.
377+
**Removal Note:** The `Updated` template data has been removed from the API.
378+
Use `Changed` template data instead, as it accommodates for all the updates,
379+
including partial updates to just the image name or the tag, not just full image
380+
with name and tag update. Templates using `Updated` will result in an error and
381+
the ImageUpdateAutomation will be marked as Stalled.
383382

384383
The message template also has access to the data related to the changes made by
385384
the automation. The template is a [Go text template][go-text-template]. The data

0 commit comments

Comments
 (0)