summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2021-01-31 14:39:24 +0100
committerGitHub <noreply@github.com>2021-01-31 14:39:24 +0100
commit44154ec8852224d5718fc1c7a1586afdc8ce5959 (patch)
tree65f33163769e68a0482d8e729dfd1b8ce4f8ed68 /docs
parent3383383314eabbf9f8847b6b2270a0cc52a4cc85 (diff)
feat: Allow setting Git user and e-mail for commits (#153)
* feat: Allow setting Git user and e-mail for commits Signed-off-by: jannfis <jann@mistrust.net> * Also allow setting git.user and git.email from configmap * Update docs to include information about Git commit author Signed-off-by: jannfis <jann@mistrust.net> * Update spelling * Add some unit tests Signed-off-by: jannfis <jann@mistrust.net> * Fix linter Signed-off-by: jannfis <jann@mistrust.net>
Diffstat (limited to 'docs')
-rw-r--r--docs/configuration/applications.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/configuration/applications.md b/docs/configuration/applications.md
index 9ed3d5c..2ae38a2 100644
--- a/docs/configuration/applications.md
+++ b/docs/configuration/applications.md
@@ -213,3 +213,13 @@ following would use GitHub's default `main` branch:
```yaml
argocd-image-updater.argoproj.io/git-branch: main
```
+
+#### Specifying the user and email address for commits
+
+Each Git commit is associated with an author's name and email address. If not
+configured, commits performed by Argo CD Image Updater will use
+`argocd-image-updater <noreply@argoproj.io>`
+as the author. You can override the author using the
+`--git-commit-user` and `--git-commit-email` command line switches or set
+`git.user` and `git.email`
+in the `argocd-image-updater-config` ConfigMap.