From 46f9db73d5f4b3acd249b2648351d5702de124bc Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sat, 10 Jan 2026 10:54:27 +0200 Subject: Fix ArgoCD SSH agent error - Set SSH_AUTH_SOCK to empty string to disable SSH agent - Add IdentitiesOnly=yes to GIT_SSH_COMMAND to use only the specified key - Fixes 'SSH agent requested but SSH_AUTH_SOCK not-specified' errors --- f3s/argocd/values.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/f3s/argocd/values.yaml b/f3s/argocd/values.yaml index 2d5a4c1..d27ecd4 100644 --- a/f3s/argocd/values.yaml +++ b/f3s/argocd/values.yaml @@ -78,9 +78,12 @@ repoServer: env: - name: XDG_CACHE_HOME value: /home/argocd/repo-cache - # Configure git to use SSH key and accept new host keys + # Disable SSH agent to prevent "SSH_AUTH_SOCK not-specified" errors + - name: SSH_AUTH_SOCK + value: "" + # Configure git to use SSH key, disable agent, and accept new host keys - name: GIT_SSH_COMMAND - value: "ssh -i /home/argocd/.ssh/id_ed25519 -o StrictHostKeyChecking=accept-new" + value: "ssh -i /home/argocd/.ssh/id_ed25519 -o IdentitiesOnly=yes -o StrictHostKeyChecking=accept-new" # Resource limits resources: limits: -- cgit v1.2.3