7cdd17b: Allow config of theatre-secrets debug and timeout
Provide new flags for the vault-manager binary that allow us to decide
whether the --debug flag is passed and the --vault-http-timeout flag
can be set, when invoking the theatre-secrets wrapper.
This allows us to temporarily enable debug logging in order to determine
the durations of requests to Vault, as well as bump up the timeout if
required.
3ffe458: Add debug logging to theatre-secrets
This allows us to flip debug logging on and see how long our requests
are taking, and whether they're close to timing out.
Debug logging is a bit odd here. The logr API doesn't actually include
a Debug() function, you need to use V-levels, and the interaction with
Zap is described here.
7cdd17b: Allow config of theatre-secrets debug and timeout
Provide new flags for the vault-manager binary that allow us to decide whether the
--debug
flag is passed and the--vault-http-timeout
flag can be set, when invoking thetheatre-secrets
wrapper.This allows us to temporarily enable debug logging in order to determine the durations of requests to Vault, as well as bump up the timeout if required.
3ffe458: Add debug logging to theatre-secrets
This allows us to flip debug logging on and see how long our requests are taking, and whether they're close to timing out.
Debug logging is a bit odd here. The
logr
API doesn't actually include aDebug()
function, you need to use V-levels, and the interaction with Zap is described here.