Commit Graph

2308 Commits (22cf122447bb34783c09f6697f170596922c411d)

Author SHA1 Message Date
Evan Culver 000d0621b4
connect: Add Envoy 1.22 to integration tests, remove Envoy 1.18 (#12805)
3 years ago
Kyle Havlovitz 3e88f579fc
Fix namespace default field names in expanded token output
3 years ago
Mark Anderson 98a2e282be Fixup acl.EnterpriseMeta
3 years ago
R.B. Boyer d06183ba7f
syncing changes back from enterprise (#12701)
3 years ago
Kyle Havlovitz 059bd0a92e
Merge pull request #12670 from hashicorp/token-read-expanded
3 years ago
Dhia Ayachi 16b19dd82d
auto-reload configuration when config files change (#12329)
3 years ago
Kyle Havlovitz b21b4346b4 Add expanded token read flag and endpoint option
3 years ago
Paul Glass 706c844423
Add IAM Auth Method (#12583)
3 years ago
R.B. Boyer e79ce8ab03
xds: adding control of the mesh-wide min/max TLS versions and cipher suites from the mesh config entry (#12601)
3 years ago
Dan Upton b36d4e16b6
Support per-listener TLS configuration ⚙️ (#12504)
3 years ago
R.B. Boyer 957146401e
catalog: compare node names case insensitively in more places (#12444)
3 years ago
Daniel Nephin 53ae4b3e2c debug: update CLI docs
3 years ago
Daniel Nephin cc2c005fad debug: limit the size of the trace
3 years ago
FFMMM 78264a8030
Vendor in rpc mono repo for net/rpc fork, go-msgpack, msgpackrpc. (#12311)
3 years ago
R.B. Boyer b60d89e7ef bulk rewrite using this script
3 years ago
R.B. Boyer 31f6f55bbe test: normalize require.New and assert.New syntax
3 years ago
Mike Morris 1b1a97e8f9
ingress: allow setting TLS min version and cipher suites in ingress gateway config entries (#11576)
3 years ago
Daniel Nephin ff7f3a9737 cli: use file mode 0600 when saving a snapshot
3 years ago
Blake Covarrubias e898cf1d41
cli: Show node identities in acl token list output (#11926)
3 years ago
Daniel Nephin da95a0e449
Merge pull request #11884 from assareh/patch-1
3 years ago
Daniel Nephin 1eb3178468
Merge pull request #11781 from marco-m/private-key-0600-permission
3 years ago
Andy Assareh fab47eb70f usage example given uses outdated arguments
3 years ago
freddygv 6bbf109bdd Update golden files
3 years ago
freddygv 68424b318a Get partition label from upstream metrics
3 years ago
Evan Culver a0c754d44f
connect: update SNI label extraction to support new taxonomy for partitions (#11786)
3 years ago
Chris S. Kim 71bad67a4d
Add partitions to prettyformatters (#11789)
3 years ago
Marco Molteni 8a4b92c176 cli: consul tls: create private keys with mode 0600
3 years ago
Dan Upton 205ce9a69d
Remove references to "master" ACL tokens in tests (#11751)
3 years ago
freddygv 9b44861ce4 Update api module and decoding tests
3 years ago
freddygv ed6076db26 Rename partition-exports to exported-services
3 years ago
R.B. Boyer c46f9f9f31
agent: add variation of force-leave that exclusively works on the WAN (#11722)
3 years ago
Daniel Nephin 81afb208ac
Merge pull request #11677 from hashicorp/dnephin/freeport-interface
3 years ago
Dan Upton bf56a2c495
Rename `agent_master` ACL token in the API and CLI (#11669)
3 years ago
Daniel Nephin e8312d6b5a testing: remove unnecessary calls to freeport
3 years ago
Daniel Nephin 5a61893642 testing: use httptest with freeport
3 years ago
Daniel Nephin 56f9238d15 go-sso: remove returnFunc now that freeport handles return
3 years ago
R.B. Boyer 1e02460bd1
re-run gofmt on 1.17 (#11579)
3 years ago
R.B. Boyer eb21649f82
partitions: various refactors to support partitioning the serf LAN pool (#11568)
3 years ago
freddygv 5bc4aa49bd Fix test
3 years ago
freddygv 4c9c1b52ce Support partitions in connect expose cmd
3 years ago
freddygv a6d985040f Fixup shared oss/ent tests
3 years ago
Nitya Dhanushkodi 139c4eb844
command/redirect_traffic: Redirect DNS requests to Consul if -consul-dns-ip is passed in (#11480)
3 years ago
Dhia Ayachi 98735a6d12
KV refactoring, part 2 (#11512)
3 years ago
Daniel Upton d47b7311b8
Support Check-And-Set deletion of config entries (#11419)
3 years ago
R.B. Boyer 61361c2e5d
cli: update consul members output to display partitions and sort the results usefully (#11446)
3 years ago
R.B. Boyer c8cafb7654
agent: for various /v1/agent endpoints parse the partition parameter on the request (#11444)
3 years ago
Freddy b1b6f682e1
Merge pull request #11416 from hashicorp/ap/exports-update
3 years ago
R.B. Boyer ef559dfdd4
agent: refactor the agent delegate interface to be partition friendly (#11429)
3 years ago
freddygv 5c24ed61a8 Rename service-exports to partition-exports
3 years ago
Kyle Havlovitz 04cd2c983e Add new service-exports config entry
3 years ago
Oleg Butuzov f9c290890f refactor: replace (*bytes.Buffer).WriteString with (*bytes.Buffer).Write
3 years ago
Evan Culver be667e280f
connect: Remove envoy_version from bootstrap template (#11215)
3 years ago
Evan Culver c7747212c3
Merge pull request #11115 from hashicorp/eculver/envoy-1.19.1
3 years ago
Daniel Nephin cc310224aa command/envoy: stop using the DebugConfig from Self endpoint
3 years ago
Daniel Nephin 1502547e38 Revert "Merge pull request #10588 from hashicorp/dnephin/config-fix-ports-grpc"
3 years ago
Evan Culver 9b73e7319d
Merge branch 'main' into eculver/envoy-1.19.1
3 years ago
Bisakh 981ef464d6
acl: update GetPolicyByName method implementation (#11055)
3 years ago
Evan Culver 1709309cc7
regenerate more envoy golden files
3 years ago
freddygv e0a7900f52 Fixup api config and Envoy test
3 years ago
freddygv cecf5b18f8 Bring back entmeta args defaulting
3 years ago
freddygv 7ecbac9228 Ensure Envoy can subscribe to non-default partition
3 years ago
Freddy 8d83d27674
connect: update envoy supported versions to latest patch release
3 years ago
Dhia Ayachi fe8b3dfccf
add partition flag to catalog commands (#10949)
3 years ago
R.B. Boyer 097e1645e3
agent: ensure that most agent behavior correctly respects partition configuration (#10880)
3 years ago
Daniel Nephin 797ee061e4 debug: use human readable dates for filenames
3 years ago
Daniel Nephin 2f8d0e12cf debug: small cleanup
3 years ago
Daniel Nephin 4359e38114 debug: restore cancel on SigInt
3 years ago
Daniel Nephin 31bcd80528 debug: improve a couple of the test cases
3 years ago
Daniel Nephin bbf6a94c9a debug: rename cluster target to members
3 years ago
Daniel Nephin 251026e374 debug: remove unused
3 years ago
Daniel Nephin 70c2cdc8f1 cli: remove a test case for updating a legacy token
3 years ago
Mark Anderson d3cebbd32c
Fixup to support unix domain socket via command line (#10758)
3 years ago
Blake Covarrubias 1ee8655bfc
cli: Fix broken KV import on Windows (#10820)
3 years ago
Blake Covarrubias e41d6ee60f
cli: Use admin bind address in self_admin cluster (#10757)
3 years ago
Blake Covarrubias 6a68bfc5e1
cli: Test API access using /status/leader in consul watch (#10795)
3 years ago
Daniel Nephin 9dd6d26d05 acl: remove rule == nil checks
3 years ago
Evan Culver 24db06f503 Fix maint test
3 years ago
Daniel Nephin beea1c2218 http: emit indented JSON in the metrics stream endpoint
3 years ago
Daniel Nephin c3149ec0fd debug: use the new metrics stream in debug command
3 years ago
Dhia Ayachi de124d0aa1
add http flag for admin partition (#10683)
3 years ago
R.B. Boyer b0657973f2
add partition cli flag to all cli commands that have namespace flag (#10668)
3 years ago
Blake Covarrubias 6c462d399b
cli: Document pass-through option for `consul connect envoy` (#10666)
3 years ago
Evan Culver 0527dcff57
acls: Show `AuthMethodNamespace` when reading/listing ACL token meta (#10598)
3 years ago
Daniel Nephin 74fb650b6b
Merge pull request #10588 from hashicorp/dnephin/config-fix-ports-grpc
3 years ago
Daniel Nephin 233d03dbbd Apply suggestions from code review
3 years ago
Daniel Nephin 4ad80ccee3 command/envoy: stop using the DebugConfig from Self endpoint
3 years ago
Iryna Shustava 95305881ce
cli/sdk: Allow applying redirect-traffic rules in a provided Linux namespace (#10564)
3 years ago
Daniel Nephin 895bf9adec config: update GRPCPort and addr in runtime config
3 years ago
Evan Culver 13bd86527b
Add support for returning ACL secret IDs for accessors with acl:write (#10546)
3 years ago
R.B. Boyer c94b8c6a39
config: add agent config flag for enterprise clients to indicate they wish to join a particular partition (#10572)
3 years ago
Daniel Nephin 2c4f22a9f0
Merge pull request #10552 from hashicorp/dnephin/ca-remove-rotation-period
3 years ago
jkirschner-hashicorp 5f73de6fbc
Merge pull request #10560 from jkirschner-hashicorp/change-sane-to-reasonable
3 years ago
Daniel Nephin 3a045cca8d ca: remove unused RotationPeriod field
3 years ago
Jared Kirschner bd536151e1 Replace use of 'sane' where appropriate
3 years ago
Daniel Nephin 690dc41c55
Merge pull request #10515 from hashicorp/dnephin/fix-arm32-atomic-aligment
3 years ago
Daniel Nephin 4d741531b4 Update references to the main branch
3 years ago
Daniel Nephin f34d3543b1 testing: fix a test for 32-bit
3 years ago
Kyle Nusbaum 07cec75be2 command/agent: change io.Discard to ioutil.Discard
3 years ago
Freddy ffb13f35f1
Rename CatalogDestinationsOnly (#10397)
4 years ago
Freddy 429f9d8bb8
Add flag for transparent proxies to dial individual instances (#10329)
4 years ago
Dhia Ayachi 005ad9e46d
generate a single debug file for a long duration capture (#10279)
4 years ago
Dhia Ayachi dda3e68791
fix monitor to only start the monitor in json format when requested (#10358)
4 years ago
Daniel Nephin cec8bc88a9 cmd: remove unnecessary GatedUi
4 years ago
Daniel Nephin 2261a469e3 cmd: move agent running message to logs
4 years ago
Daniel Nephin b4b85bd83a agent: fix agent logging
4 years ago
Daniel Nephin 2fc988d51d cmd: introduce a shim to expose Stdout/Stderr writers
4 years ago
Daniel Nephin e573641995 cmd: remove unnecessary args to agent.New
4 years ago
Daniel Nephin eb4f8b17e9
Merge pull request #10324 from hashicorp/dnephin/fix-envoy-bootstrap-exec
4 years ago
Dhia Ayachi 15dddc9edb
make tests use a dummy node_name to avoid environment related failures (#10262)
4 years ago
Daniel Nephin 2054402a53 envoy: improve comments
4 years ago
Daniel Nephin c9bc5f92b7 envoy: fix bootstrap deadlock caused by a full named pipe
4 years ago
Daniel Nephin e1b1ab7ef6 envoy: start timeout func after validation
4 years ago
Dhia Ayachi 4c7f5f31c7
debug: remove the CLI check for debug_enabled (#10273)
4 years ago
Daniel Nephin 5a7059f45c redirecttraffic: fix a flaky test
4 years ago
Iryna Shustava d7d44f6ae7
Save exposed ports in agent's store and expose them via API (#10173)
4 years ago
R.B. Boyer 3b50a55533
connect: update supported envoy versions to 1.18.3, 1.17.3, 1.16.4, and 1.15.5 (#10231)
4 years ago
Daniel Nephin 347f3d2128
Merge pull request #10155 from hashicorp/dnephin/config-entry-remove-fields
4 years ago
Mark Anderson 06f0f79218 Continue working through proxy and agent
4 years ago
Luke Kysow 8d6cbe7281
Give descriptive error if auth method not found (#10163)
4 years ago
Daniel Nephin a07a58a873 config-entry: use custom MarshalJSON for mesh type
4 years ago
Daniel Nephin 62efaaab21 config-entry: remove Kind and Name field from Mesh config entry
4 years ago
R.B. Boyer abc1dc0fe9
connect: update supported envoy versions to 1.18.2, 1.17.2, 1.16.3, and 1.15.4 (#10101)
4 years ago
R.B. Boyer 71d45a3460
Support Incremental xDS mode (#9855)
4 years ago
Iryna Shustava 8dffb89131
Implement traffic redirection exclusion based on proxy config and user-provided values (#10134)
4 years ago
Freddy 078c40425f
Rename "cluster" config entry to "mesh" (#10127)
4 years ago
Paul Banks c501468d78
Fix panic bug in snapshot inspect (#10091)
4 years ago
Paul Banks d717d2cdc4
CLI: Allow snapshot inspect to work on internal raft snapshots directly. (#10089)
4 years ago
R.B. Boyer 4db8b78854
connect: update centralized upstreams representation in service-defaults (#10015)
4 years ago
freddygv e1808af729 Fixup tests
4 years ago
freddygv 7cb3f32672 Convert new tproxy structs in api module into ptrs
4 years ago
freddygv 7bd51ff536 Replace TransparentProxy bool with ProxyMode
4 years ago
Iryna Shustava 5755c97bc7
cli: Add new `consul connect redirect-traffic` command for applying traffic redirection rules when Transparent Proxy is enabled. (#9910)
4 years ago
Freddy a02245b75a
Merge pull request #9976 from hashicorp/centralized-upstream-fixups
4 years ago
freddygv ab752c1c86 Avoid sending zero-value upstream defaults from api
4 years ago
R.B. Boyer 5bcfe930c6
command: when generating envoy bootstrap configs to stdout do not mix informational logs into the json (#9980)
4 years ago
R.B. Boyer 499fee73b3
connect: add toggle to globally disable wildcard outbound network access when transparent proxy is enabled (#9973)
4 years ago
Hans Hasselberg 53e9c134af
introduce certopts (#9606)
4 years ago
woz5999 39f448589d support env var expansion in envoy statsd urls
4 years ago
Freddy 8207b832df
Add TransparentProxy option to proxy definitions
4 years ago
Freddy c664938bae
Add per-upstream configuration to service-defaults
4 years ago
freddygv 8b46d8dcbb Restore old Envoy prefix on escape hatches
4 years ago
Kyle Havlovitz 1e87c7183a
Merge pull request #9672 from hashicorp/ca-force-skip-xc
4 years ago
freddygv 6fd30d0384 Add TransparentProxy opt to proxy definition
4 years ago
freddygv e3dc2a49df Turn Limits and PassiveHealthChecks into pointers
4 years ago
Kyle Havlovitz d62565f368
Merge pull request #9792 from dzeban/kv-import-prefix
4 years ago
freddygv 87cde19b4c Create new types for service-defaults upstream cfg
4 years ago
Nitya Dhanushkodi 15e8b13891
Add flags to consul connect envoy for metrics merging. (#9768)
4 years ago
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
Alex Dzyoba 098fd1797b command/kv: Add prefix option to kv import command
4 years ago