fix(cgit-taz): Force gcloud to use specific CA bundle
It doesn't like reading the bundle from /etc/ssl apparently.
This commit is contained in:
parent
ce55786ffe
commit
96794d8630
1 changed files with 3 additions and 0 deletions
|
|
@ -54,6 +54,9 @@ let
|
||||||
patches = [ ./cgit_idx.patch thttpdConfigPatch ];
|
patches = [ ./cgit_idx.patch thttpdConfigPatch ];
|
||||||
});
|
});
|
||||||
in writeShellScriptBin "cgit-launch" ''
|
in writeShellScriptBin "cgit-launch" ''
|
||||||
|
# v0v
|
||||||
|
gcloud config set core/custom_ca_certs_file ${cacert}/etc/ssl/certs/ca-bundle.crt
|
||||||
|
|
||||||
# The role account that this container is running at in Kubernetes
|
# The role account that this container is running at in Kubernetes
|
||||||
# has permission to clone the repository.
|
# has permission to clone the repository.
|
||||||
${google-cloud-sdk}/bin/gcloud source repos --project tazjins-infrastructure clone depot /git/depot
|
${google-cloud-sdk}/bin/gcloud source repos --project tazjins-infrastructure clone depot /git/depot
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue