Skip to content

Commit e8247e7

Browse files
authored
Update Image Tag Step to show that annotations are optional. (#3080)
1 parent 3c2bb7d commit e8247e7

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/pages/docs/argo-cd/steps/update-application-image-tags.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@ navOrder: 30
1010
The Update Argo CD Application Image Tags step is responsible for iterating over your Argo CD Application's repository, and
1111
updating the image tag for referenced container images.
1212

13-
:::div{.info}
14-
When deploying a Helm Chart with multiple values files, specific annotations must be added to your Argo CD Application to
15-
ensure the correct sections of the relevant values files are updated. See [Helm Annotations](/docs/argo-cd/annotations/helm-annotations) for
16-
more information.
17-
:::
18-
1913
## Container Images
2014

2115
Add package references for each container image you would like to update when you run your deployment. Unreferenced container images in your manifests will not be changed by Octopus.
@@ -26,6 +20,18 @@ When targeting a Helm-based application source, each referenced container image
2620
![The Helm image tag path field in the Reference a package drawer](/docs/img/argo-cd/update-application-image-tags-helm-values-tag.png)
2721
:::
2822

23+
Depending on what the helm value contains:
24+
25+
- Only the tag - it will be replaced with the package's version, with no further validation or checking.
26+
- Tag, ImageName and repository, these fields will be validated against the step package's properties to ensure the correct data is being inserted.
27+
- If the namespace/repository do not align with the step package, tag replacement will not be performed.
28+
29+
:::div{.info}
30+
Using the step-based notation may not be appropriate for complex use cases (e.g. updating multiple sources from the one deployment). In such cases, [Helm Annotations](/docs/argo-cd/annotations/helm-annotations) may be required.
31+
32+
Note: Helm Annotations will only be considered during step execution when **no** helm-image-tag-paths have been defined in the step directly.
33+
:::
34+
2935
If the application cluster's default registry has been changed, see [cluster annotations](/docs/argo-cd/annotations/cluster-annotations) to ensure
3036
the correct default registry is shared with Octopus.
3137

0 commit comments

Comments
 (0)