nixos/vault-agent: set a longer timeout on HTTP requests to upstream

This commit is contained in:
Luke Granger-Brown 2022-03-17 01:25:44 +00:00
parent d2481b1461
commit b0d2782369

View file

@ -69,6 +69,7 @@ in
after = [ "network.target" ]; after = [ "network.target" ];
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
path = with pkgs; [ glibc.bin ]; path = with pkgs; [ glibc.bin ];
environment.VAULT_CLIENT_TIMEOUT = "15m";
serviceConfig = { serviceConfig = {
RuntimeDirectory = "vault-agent"; RuntimeDirectory = "vault-agent";
RuntimeDirectoryMode = "0700"; RuntimeDirectoryMode = "0700";