summaryrefslogtreecommitdiff
path: root/manifests/install.yaml
diff options
context:
space:
mode:
authorDustin Lactin <dustin.lactin@gmail.com>2024-06-18 13:00:40 -0600
committerGitHub <noreply@github.com>2024-06-18 15:00:40 -0400
commitae73f740d3917e73ce90029f95c79f4b10438654 (patch)
treed92dc4390493ad5b64dc563688f2bd9fedb64b91 /manifests/install.yaml
parent43f579e6df7f3936cb0a48f1eb16bf29022094f7 (diff)
feat: Support for signing commits with gpg and ssh (#710)
Signed-off-by: Dustin Lactin <dustin.lactin@gmail.com>
Diffstat (limited to 'manifests/install.yaml')
-rw-r--r--manifests/install.yaml26
1 files changed, 26 insertions, 0 deletions
diff --git a/manifests/install.yaml b/manifests/install.yaml
index b65b12b..97167ec 100644
--- a/manifests/install.yaml
+++ b/manifests/install.yaml
@@ -158,6 +158,24 @@ spec:
key: git.email
name: argocd-image-updater-config
optional: true
+ - name: GIT_COMMIT_SIGNING_KEY
+ valueFrom:
+ configMapKeyRef:
+ key: git.commit-signing-key
+ name: argocd-image-updater-config
+ optional: true
+ - name: GIT_COMMIT_SIGNING_METHOD
+ valueFrom:
+ configMapKeyRef:
+ key: git.commit-signing-method
+ name: argocd-image-updater-config
+ optional: true
+ - name: GIT_COMMIT_SIGN_OFF
+ valueFrom:
+ configMapKeyRef:
+ key: git.commit-sign-off
+ name: argocd-image-updater-config
+ optional: true
- name: IMAGE_UPDATER_KUBE_EVENTS
valueFrom:
configMapKeyRef:
@@ -199,6 +217,10 @@ spec:
name: ssh-config
- mountPath: /tmp
name: tmp
+ - mountPath: /app/.ssh/id_rsa
+ name: ssh-signing-key
+ readOnly: true
+ subPath: sshPrivateKey
serviceAccountName: argocd-image-updater
volumes:
- configMap:
@@ -218,5 +240,9 @@ spec:
name: argocd-image-updater-ssh-config
optional: true
name: ssh-config
+ - name: ssh-signing-key
+ optional: true
+ secret:
+ secretName: ssh-git-creds
- emptyDir: {}
name: tmp