fix: support additional http headers on agent (#14464)

This commit is contained in:
Ethan
2024-08-29 14:15:15 +10:00
committed by GitHub
parent 6dbfe6f7ae
commit e65eb0321c
4 changed files with 115 additions and 38 deletions
+9
View File
@@ -15,6 +15,15 @@ OPTIONS:
--log-stackdriver string, $CODER_AGENT_LOGGING_STACKDRIVER
Output Stackdriver compatible logs to a given file.
--agent-header string-array, $CODER_AGENT_HEADER
Additional HTTP headers added to all requests. Provide as key=value.
Can be specified multiple times.
--agent-header-command string, $CODER_AGENT_HEADER_COMMAND
An external command that outputs additional HTTP headers added to all
requests. The command must output each header as `key=value` on its
own line.
--auth string, $CODER_AGENT_AUTH (default: token)
Specify the authentication type to use for the agent.