consul/command/connect
R.B. Boyer c310451b2b cli: avoid passing envoy bootstrap configuration as arguments (#4747)
Play a trick with CLOEXEC to pass the envoy bootstrap configuration as
an open file descriptor to the exec'd envoy process. The file only
briefly touches disk before being unlinked.

We convince envoy to read from this open file descriptor by using the
/dev/fd/$FDNUMBER mechanism to read the open file descriptor as a file.

Because the filename no longer has an extension envoy's sniffing logic
falls back on JSON instead of YAML, so the bootstrap configuration must
be generated as JSON instead.
2018-10-10 16:55:34 +01:00
..
ca Fix more unstable tests in agent and command 2018-09-12 14:49:27 +01:00
envoy cli: avoid passing envoy bootstrap configuration as arguments (#4747) 2018-10-10 16:55:34 +01:00
proxy Connect Envoy Command (#4735) 2018-10-10 16:55:34 +01:00
connect.go Original proxy and connect.Client implementation. Working end to end. 2018-06-14 09:41:56 -07:00
connect_test.go Original proxy and connect.Client implementation. Working end to end. 2018-06-14 09:41:56 -07:00