fix(cgit-taz): Explicitly configure CA certs for git
This commit is contained in:
parent
9448326b9b
commit
d6a653d7a3
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue