Increase timeout of @url@ secrets fetching
Describe the bug
eval_secret
has a fixed timeout of 5 seconds for @url@
vault-secrets-provider need to do up to 3 calls to login, check version and fetch the secret. So delay is multiplied.
Instead of putting 10 or 20 seconds everywhere, we should may be add a TBC_SECRET_URL_TIMEOUT
variable
Expected behavior
@url@http://vault-secrets-provider/api/secrets/{secret_path}?field={field}
should work even on slow networks when it could take more than 5 seconds.
Actual behavior
Wget timeout before request end
Context & Configuration
This issue applies to all templates with current eval_secret
function. So it could be converted to an epic.
It is sent here as impacted user is only using it in docker template.