Closed
Description
While trying to get the Coder Agent to bypass an identity-aware proxy, it appears that the coder agent
command does not respect the CODER_HEADER or CODER_HEADER_COMMAND environment variables or command line parameters. I wrote a small script to use for CODER_HEADER_COMMAND that outputs a log entry to the systemd journal, and it is clear that it is never triggered by Coder in the process of attempting to connect to the far end coderd.
They are respected by the other commands I tested, e.g. coder login
, coder list
, etc. all work well.
Please let me know if there's some additional debug output I can grab.
Maybe the work in https://github.com/coder/coder/pull/6521/files is insufficient and missed being applied to agents completely somehow?