3
3
## Overview
4
4
5
5
Argo CD Image Updater supports several methods to propagate new versions of the
6
- images to Argo CD. These methods are also refered to as * write back methods* .
6
+ images to Argo CD. These methods are also referred to as * write back methods* .
7
7
8
8
Currently, the following methods are supported:
9
9
@@ -144,6 +144,22 @@ kubectl -n argocd-image-updater create secret generic git-creds \
144
144
--from-file=sshPrivateKey=~/.ssh/id_rsa
145
145
` ` `
146
146
147
+ # ## <a name="method-git-repository"></a>Specifying a repository when using a Helm repository in repoURL
148
+
149
+ By default, Argo CD Image Updater will use the value found in the Application
150
+ spec at `.spec.source.repoURL` as Git repository to checkout. But when using
151
+ a Helm repository as `.spec.source.repoURL` GIT will simply fail. To manually
152
+ specify the repository to push the changes, specify the
153
+ annotation `argocd-image-updater.argoproj.io/git-repository` on the Application
154
+ manifest.
155
+
156
+ The value of this annotation will define the Git repository to use, for example the
157
+ following would use a GitHub's repository :
158
+
159
+ ` ` ` yaml
160
+ argocd-image-updater.argoproj.io/git-repository: [email protected] :example/example.git
161
+ ` ` `
162
+
147
163
# ## <a name="method-git-branch"></a>Specifying a branch to commit to
148
164
149
165
By default, Argo CD Image Updater will use the value found in the Application
@@ -162,7 +178,7 @@ argocd-image-updater.argoproj.io/git-branch: main
162
178
163
179
# ## <a name="method-git-base-commit-branch"></a>Specifying a separate base and commit branch
164
180
165
- By default, Argo CD Imager Updater will checkout, commit, and push back to the
181
+ By default, Argo CD Image Updater will checkout, commit, and push back to the
166
182
same branch specified above. There are many scenarios where this is not
167
183
desired or possible, such as when the default branch is protected. You can
168
184
add a separate write-branch by modifying `argocd-image-updater.argoproj.io/git-branch`
0 commit comments