diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-10 10:54:27 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-10 10:54:27 +0200 |
| commit | 46f9db73d5f4b3acd249b2648351d5702de124bc (patch) | |
| tree | ed686336a7f4ca15aa9bcb1112ab325d6729e7e5 /f3s | |
| parent | d37eeb5e92507e7646224c3abba1711f190efe43 (diff) | |
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
Diffstat (limited to 'f3s')
| -rw-r--r-- | f3s/argocd/values.yaml | 7 |
1 files 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: |
