Skip to content

Commit 96ed722

Browse files
committed
docs: add documentation for the limitation
Signed-off-by: chansuke <[email protected]>
1 parent 072e084 commit 96ed722

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

docs/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ Otherwise, current known limitations are:
9696
Image Updater is running in (or has access to). It is currently not possible
9797
to fetch those secrets from other clusters.
9898

99+
* When using Helm applications with zero-replica deployments and `force-update`
100+
enabled, the image updater will attempt to match common Helm parameter patterns
101+
for image tags (such as `image.tag`, `*.version`, `*.imageTag`). If your Helm
102+
chart uses uncommon parameter names, the updater may not detect the current
103+
image version correctly, leading to repeated update attempts.
104+
99105
## Questions, help and support
100106

101107
If you have any questions, need some help in setting things up or just want to

pkg/argocd/argocd.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,10 @@ func (a ApplicationType) String() string {
736736
}
737737
}
738738

739-
// getImageFromSpec tries to find the current image tag from the application spec
739+
// getImageFromSpec tries to find the current image tag from the application spec.
740+
// For Helm applications, it attempts to match common parameter patterns for image tags
741+
// using regex (e.g., image.tag, *.version, *.imageTag). However, if a Helm chart uses
742+
// uncommon parameter names, this function may not detect them correctly.
740743
func getImageFromSpec(app *v1alpha1.Application, targetImage *image.ContainerImage) *image.ContainerImage {
741744
appType := getApplicationType(app)
742745
source := getApplicationSource(app)

0 commit comments

Comments
 (0)