about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--services/cgit-taz/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/cgit-taz/default.nix b/services/cgit-taz/default.nix
index 6f075dc64d59..b3727923223d 100644
--- a/services/cgit-taz/default.nix
+++ b/services/cgit-taz/default.nix
@@ -57,6 +57,7 @@ in writeShellScriptBin "cgit-launch" ''
   ${coreutils}/bin/mkdir -p /srv/git
 
   # The SSH keys are placed in the container by Kubernetes.
+  export GIT_SSH_COMMAND="${openssh}/bin/ssh -F /var/cgit/ssh_config"
   ${git}/bin/git clone --mirror \
     -c http.sslcainfo=${cacert}/etc/ssl/certs/ca-bundle.crt \
     ssh://source.developers.google.com:2022/p/tazjins-infrastructure/r/depot \