fix(cgit-taz): Explicitly configure CA certs for git

This commit is contained in:
Vincent Ambo 2019-12-18 20:02:17 +00:00
parent 9448326b9b
commit d6a653d7a3

View file

@ -58,7 +58,9 @@ in writeShellScriptBin "cgit-launch" ''
# The cookie file is placed in the correct location by Kubernetes, based on
# information stored in a secret.
${git}/bin/git clone --mirror -c http.cookieFile=/var/cgit/gitcookies \
${git}/bin/git clone --mirror \
-c http.cookieFile=/var/cgit/gitcookies \
-c http.sslcainfo=${cacert}/etc/ssl/certs/ca-bundle.crt \
https://source.developers.google.com/p/tazjins-infrastructure/r/depot \
/srv/git/depot