Commit Graph

226 Commits (4275e8fa82b3b54ee1ed04373fa8a659cce2e484)

Author SHA1 Message Date
R.B. Boyer 398b766532
xds: default to speaking xDS v3, but allow for v2 to be spoken upon request (#9658)
4 years ago
R.B. Boyer 3b6ffc447b
xds: remove deprecated usages of xDS (#9602)
4 years ago
R.B. Boyer 6eeccc93ce
connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7 (#9737)
4 years ago
Kyle Havlovitz 7dac583863 connect/ca: Allow ForceWithoutCrossSigning for all providers
4 years ago
R.B. Boyer b5f9a293c9
chore: regenerate envoy golden files (#9634)
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
R.B. Boyer 7c7a3e5165
command: when generating envoy bootstrap configs use the datacenter returned from the agent services endpoint (#9229)
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
Mike Morris 6396042ba7
connect: switch the default gateway port from 443 to 8443 (#9116)
4 years ago
R.B. Boyer 8baf158ea8
Revert "Add namespace support for metrics (OSS) (#9117)" (#9124)
4 years ago
Freddy 06b3b017d3
Add namespace support for metrics (OSS) (#9117)
4 years ago
R.B. Boyer a2c50d3303
connect: add support for envoy 1.16.0, drop support for 1.12.x, and bump point releases as well (#8944)
4 years ago
R.B. Boyer 9fbcb2e68d
command: remove conditional envoy bootstrap generation for versions <=1.10.0 since those are not supported (#8855)
4 years ago
R.B. Boyer a2a8e9c783
connect: intentions are now managed as a new config entry kind "service-intentions" (#8834)
4 years ago
Tim Arenz a1fe711390
Add support for -ca-path option in the connect envoy command (#8606)
4 years ago
Daniel Nephin 33c401a16e logging: Setup accept io.Writer instead of []io.Writer
4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall
4 years ago
R.B. Boyer 397019d970
xds: revert setting set_node_on_first_message_only to true when generating envoy bootstrap config (#8440)
4 years ago
Daniel Nephin 0420d91cdd Remove LogOutput from Agent
4 years ago
R.B. Boyer c599a2f5f4
xds: add support for envoy 1.15.0 and drop support for 1.11.x (#8424)
4 years ago
Chris Piraino 7c4cc71131
Fix envoy bootstrap logic to not append multiple self_admin clusters (#8371)
4 years ago
Hans Hasselberg 496fb5fc5b
add support for envoy 1.14.4, 1.13.4, 1.12.6 (#8216)
4 years ago
R.B. Boyer 1eef096dfe
xds: version sniff envoy and switch regular expressions from 'regex' to 'safe_regex' on newer envoy versions (#8222)
4 years ago
R.B. Boyer 462f0f37ed
connect: various changes to make namespaces for intentions work more like for other subsystems (#8194)
4 years ago
Matt Keeler 3dbbd2d37d
Implement Client Agent Auto Config
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Hans Hasselberg e62a43c6cf
Support envoy 1.14.2, 1.13.2, 1.12.4 (#8057)
5 years ago
Kyle Havlovitz 6fd3b25313 Fix a CLI test failure with namespaces in enterprise
5 years ago
Kyle Havlovitz e3a725c4e0 Always allow updating the exposed service and differentiate by namespace
5 years ago
Kyle Havlovitz edab5588d8 Add -host flag to expose command
5 years ago
Kyle Havlovitz 5958328552 Allow multiple listeners per service via expose command
5 years ago
Kyle Havlovitz acae044df4 Document the namespace format for expose CLI command
5 years ago
Kyle Havlovitz b874c8ef0c Add connect expose CLI command
5 years ago
Daniel Nephin c88fae0aac ci: Add staticcheck and fix most errors
5 years ago
Kyle Havlovitz b14696e32a
Standardize support for Tagged and BindAddresses in Ingress Gateways (#7924)
5 years ago
Daniel Nephin c662f0f0de Fix a number of problems found by staticcheck
5 years ago
Freddy ccd0822539
Use proxy-id in gateway auto-registration (#7845)
5 years ago
Chris Piraino 3d2de925d8
Add support for ingress-gateway in CLI command (#7618)
5 years ago
Daniel Nephin 25b585d0bf Fix golden file for envoy tests
5 years ago
Daniel Nephin 6b860c926f
Merge pull request #7608 from hashicorp/dnephin/grpc-default-scheme
5 years ago
Hans Hasselberg 66415be90e
connect: support envoy 1.14.1 (#7624)
5 years ago
Daniel Nephin 8b6861518f Fix CONSUL_HTTP_ADDR=https not enabling TLS
5 years ago
Daniel Nephin 0888c6575b Step 3: fix a bug in api.NewClient and fix the tests
5 years ago
Daniel Nephin 1a8ffec6a7 Step 2: extract the grpc address logic and a new type
5 years ago
Daniel Nephin 830b4a15f6 Step 1: move all the grpcAddr logic into the same spot
5 years ago
Freddy b61214ef24
Fix regression with gateway registration and update docs (#7582)
5 years ago
Daniel Nephin 475659a132 Remove name from NewTestAgent
5 years ago
Daniel Nephin 09d0876b6c command: remove unused logOutput field
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Daniel Nephin e5d6273a48
command/envoy: Refactor flag parsing/validation (#7504)
5 years ago
Daniel Nephin a95974cf79 Remove unnecessary methods
5 years ago
Daniel Nephin 8df3746927 cmd: use env vars as defaults
5 years ago
Daniel Nephin 6e10616b13 Fix tests failing on master
5 years ago
Hans Hasselberg d5f4b8c3a3
envoy: default to 1.13.1 (#7452)
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Chris Piraino d7fdb249fc
Fix -mesh-gateway flag help text (#7265)
5 years ago
Hans Hasselberg 6739fe6e83
connect: add validations around intermediate cert ttl (#7213)
5 years ago
Hans Hasselberg 9cb7adb304
add envoy version 1.12.2 and 1.13.0 to the matrix (#7240)
5 years ago
Paschalis Tsilias a335aa57c5
Expose Envoy's /stats for statsd agents (#7173)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Anthony Scalisi beb928f8de fix spelling errors (#7135)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Hans Hasselberg 804eb17094
connect: check if intermediate cert needs to be renewed. (#6835)
5 years ago
Aestek ba8fd8296f Add support for dual stack IPv4/IPv6 network (#6640)
5 years ago
Hans Hasselberg ab2f2484ad
connect: use inline_string instead for envoy ca(#7024)
5 years ago
Hans Hasselberg 1661041046
envoy: replace ca filename with inline_bytes. (#6822)
5 years ago
Aestek 6817676223 Fix consul connect token env variable doc (#5942)
5 years ago
R.B. Boyer 72207256b9
xds: improve how envoy metrics are emitted (#6312)
5 years ago
Mike Morris 65be58703c
connect: remove managed proxies (#6220)
5 years ago
Alvin Huang 37ea271eb7 fix grpc-addr-config hosts template
5 years ago
Alvin Huang 206b2016a4 Merge remote-tracking branch 'origin/master' into release/1-6
5 years ago
Sarah Adams 896749d585
fix 'consul connect envoy' to try to use previously-configured grpc port (#6245)
5 years ago
Matt Keeler 1fdda51839
Fix envoy canBind (#6238)
5 years ago
Matt Keeler 59454c7edc
Set --max-obj-name-len 256 when execing Envoy (#6202)
5 years ago
hashicorp-ci fa20c7db97 Merge Consul OSS branch 'master' at commit 95dbb7f2f1
5 years ago
Freddy d219e31db8
Update retries that weren't using retry.R (#6146)
5 years ago
Matt Keeler 6e65811db2
Envoy CLI bind addresses (#6107)
5 years ago
Michael Schurter b5aab27c21 connect: allow overriding envoy listener bind_address (#6033)
5 years ago
Matt Keeler 8d953f5840 Implement Mesh Gateways
5 years ago
Paul Banks 9f656a2dc8
Fix envoy 1.10 exec (#5964)
6 years ago
Hans Hasselberg 4d9116d759
connect: provide -admin-access-log-path for envoy (#5858)
6 years ago
Paul Banks 0cfb6051ea Add integration test for central config; fix central config WIP (#5752)
6 years ago
Matt Keeler 3145bf5230 Centralized Config CLI (#5731)
6 years ago
R.B. Boyer b4727fbe18
cli: actually allow the 'connect envoy' and 'watch' subcommands to work with -token-file (#5733)
6 years ago
Paul Banks 421ecd32fc
Connect: allow configuring Envoy for L7 Observability (#5558)
6 years ago
R.B. Boyer e47d7eeddb acl: adding support for kubernetes auth provider login (#5600)
6 years ago
Alvin Huang 8ceca2ace3
Add fmt and vet (#5671)
6 years ago
Jeff Mitchell 4243c3ae42
Move internal/ to sdk/ (#5568)
6 years ago
Jeff Mitchell 47c390025b
Convert to Go Modules (#5517)
6 years ago
Matt Keeler 766d771017
Pass a testing.T into NewTestAgent and TestAgent.Start (#5342)
6 years ago
Grégoire Seux 4f62a3b528 Implement /v1/agent/health/service/<service name> endpoint (#3551)
6 years ago
Hans Hasselberg acc458d7a4
Builtin tls helper (#5078)
6 years ago
Dhi Aurrahman 649082ab35 connect: Fix comment DYNAMIC_DNS to LOGICAL_DNS (#4799)
6 years ago
Paul Banks c9217c958e merge feedback: fix typos; actually use deliverLatest added previously but not plumbed in
6 years ago
Paul Banks f9c0f00abb cli: envoy command default gRPC port (#4768)
6 years ago
R.B. Boyer c310451b2b cli: avoid passing envoy bootstrap configuration as arguments (#4747)
6 years ago
Paul Banks dca1303d05 Connect Envoy Command (#4735)
6 years ago
Paul Banks e812f5516a Add -sidecar-for and new /agent/service/:service_id endpoint (#4691)
6 years ago
Paul Banks b83bbf248c Add Proxy Upstreams to Service Definition (#4639)
6 years ago
Paul Banks b06ddc9187 Rename proxy package (re-run of #4550) (#4638)
6 years ago
Pierre Souchay 1a906ef34e Fix more unstable tests in agent and command
6 years ago
Pierre Souchay 92acdaa94c Fixed flaky tests (#4626)
6 years ago
Pierre Souchay 3f9d1370b7 Fix unstable test TestRegisterMonitor_heartbeat (#4568)
6 years ago
Pierre Souchay cec5d72396 BUGFIX: Unit test relying on WaitForLeader() did not work due to wrong test (#4472)
6 years ago
Mitchell Hashimoto e39dfc919a
command/connect/proxy: ignore check doesn't exist on -register
7 years ago
Paul Banks d1c67d90bc Fixs a few issues that stopped this working in real life but not caught by tests:
7 years ago
Mitchell Hashimoto caae034f3b command/connect/proxy: can specify prepared query upstream types
7 years ago
Paul Banks cdc7cfaa36 Abandon daemonize for simpler solution (preserving history):
7 years ago
Paul Banks ba0fb58a72 Make daemoinze an option on test binary without hacks. Misc fixes for racey or broken tests. Still failing on several though.
7 years ago
Paul Banks 2b377dc624 Run daemon processes as a detached child.
7 years ago
Kyle Havlovitz 61d7e38148
Clarify CA commands' help text
7 years ago
Kyle Havlovitz 6ca7543ea6
Add CA CLI commands for getting/setting config
7 years ago
Mitchell Hashimoto 7d24ecd700
command/connect/proxy: register monitor tests
7 years ago
Mitchell Hashimoto eb2a6952ba
address comment feedback
7 years ago
Mitchell Hashimoto db10240bea
command/connect/proxy: register monitor and -register flag
7 years ago
Mitchell Hashimoto 1db42050bd
command/connect/proxy: output information when starting similar to agent
7 years ago
Mitchell Hashimoto 55c6d34ea0
command/connect/proxy: detailed help
7 years ago
Mitchell Hashimoto b1d709fc9f
command/connect/proxy: -service-addr required for -listen
7 years ago
Mitchell Hashimoto 83f2509c6f
command/connect/proxy: can set public listener from flags
7 years ago
Mitchell Hashimoto c93ba83310
command/connect/proxy: tests for configuration
7 years ago
Mitchell Hashimoto 42ee214c8a
command/connect/proxy: accept -service and -upstream
7 years ago
Mitchell Hashimoto 8c713e6104
connect/proxy: don't require proxy ID
7 years ago
Mitchell Hashimoto 5d969e3cbb
command/connect/proxy: set ACL token based on proxy token flag
7 years ago
Mitchell Hashimoto 867db89303
command/connect/proxy: set proxy ID from env var if set
7 years ago
Paul Banks 10db79c8ae
Rework connect/proxy and command/connect/proxy. End to end demo working again
7 years ago
Paul Banks 69d5efdbbd
Original proxy and connect.Client implementation. Working end to end.
7 years ago