summaryrefslogtreecommitdiff
path: root/manifests/base
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 /manifests/base
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 'manifests/base')
-rw-r--r--manifests/base/deployment/argocd-image-updater-deployment.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/base/deployment/argocd-image-updater-deployment.yaml b/manifests/base/deployment/argocd-image-updater-deployment.yaml
index c35c920..c79dc1a 100644
--- a/manifests/base/deployment/argocd-image-updater-deployment.yaml
+++ b/manifests/base/deployment/argocd-image-updater-deployment.yaml
@@ -64,6 +64,18 @@ spec:
name: argocd-image-updater-config
key: log.level
optional: true
+ - name: GIT_COMMIT_USER
+ valueFrom:
+ configMapKeyRef:
+ name: argocd-image-updater-config
+ key: git.user
+ optional: true
+ - name: GIT_COMMIT_EMAIL
+ valueFrom:
+ configMapKeyRef:
+ name: argocd-image-updater-config
+ key: git.email
+ optional: true
livenessProbe:
httpGet:
path: /healthz