open-consul/command
R.B. Boyer 4427417140 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
..
agent Connect Envoy Command (#4735) 2018-10-10 16:55:34 +01:00
catalog Exit with error code 1 when failing to list DCs (#4583) 2018-09-12 09:55:02 -07:00
connect cli: avoid passing envoy bootstrap configuration as arguments (#4747) 2018-10-10 16:55:34 +01:00
event commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
exec Address flakiness in command/exec tests (#4517) 2018-08-10 15:04:07 -04:00
flags replace old fork of text package (#4501) 2018-08-14 12:23:18 -07:00
forceleave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
helpers Move data source loading into a command helpers function 2018-05-24 10:34:08 -04:00
info commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
intention Fix unreachable code warning from go vet 2018-06-25 12:24:15 -07:00
join commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keygen commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
keyring commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
kv Merge pull request #4194 from hashicorp/fix-kv-del-validation 2018-06-05 16:58:14 +01:00
leave commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
lock Improve reliability of tests with TestAgent (#4525) 2018-08-14 12:08:33 -04:00
maint commands: cleanup init 2017-10-18 02:39:10 +02:00
members commands: cleanup init 2017-10-18 02:39:10 +02:00
monitor Spelling (#3958) 2018-03-19 16:56:00 +00:00
operator Fixed flaky tests (#4626) 2018-09-04 12:31:51 +01:00
reload commands: get HTTP API flags for usage automatically 2017-10-18 00:08:45 +02:00
rtt Fixed unstable test TestRTTCommand_LAN in command/rtt (#4585) 2018-08-27 11:37:13 -04:00
services Fix up tests broken by master merge; add proxy tests to services command (and fix it!); actually run the proxycfg.Manager 2018-10-10 16:55:34 +01:00
snapshot Spelling (#3958) 2018-03-19 16:56:00 +00:00
validate Update make static-assets goal and run format 2018-04-13 09:57:25 -07:00
version commands: run all tests in parallel (again) 2017-10-18 00:08:45 +02:00
watch Add -sidecar-for and new /agent/service/:service_id endpoint (#4691) 2018-10-10 16:55:34 +01:00
commands_oss.go Connect Envoy Command (#4735) 2018-10-10 16:55:34 +01:00
registry.go Abandon daemonize for simpler solution (preserving history): 2018-06-25 12:24:10 -07:00