diff --git a/agent/config/default.go b/agent/config/default.go index b266a83b90..9d96f5a5c3 100644 --- a/agent/config/default.go +++ b/agent/config/default.go @@ -108,6 +108,10 @@ func DevSource() Source { ui = true log_level = "DEBUG" server = true + + connect = { + enabled = true + } performance = { raft_multiplier = 1 } diff --git a/agent/config/runtime_test.go b/agent/config/runtime_test.go index 3268c6c703..82787482f1 100644 --- a/agent/config/runtime_test.go +++ b/agent/config/runtime_test.go @@ -263,6 +263,7 @@ func TestConfigFlagsAndEdgecases(t *testing.T) { rt.AdvertiseAddrLAN = ipAddr("127.0.0.1") rt.AdvertiseAddrWAN = ipAddr("127.0.0.1") rt.BindAddr = ipAddr("127.0.0.1") + rt.ConnectEnabled = true rt.DevMode = true rt.DisableAnonymousSignature = true rt.DisableKeyringFile = true