Commit Graph

214 Commits (11b12885f31415fa88ef19dc24e92bf3207a1af0)

Author SHA1 Message Date
Paul Banks 20d0bf81f7 Revert abandonned changes to proxycfg for Ent test consistency
3 years ago
Paul Banks 659321d008 Handle namespaces in route names correctly; add tests for enterprise
3 years ago
Paul Banks ccbda0c285 Update proxycfg to hold more ingress config state
3 years ago
Paul Banks 4e39f03d5b Add ingress-gateway config for SDS
3 years ago
freddygv 49248a0802 Fixup proxycfg tproxy case
3 years ago
freddygv 95a6db9cfa Account for partitions in ixn match/decision
3 years ago
freddygv 3f3a61c6e1 Fixup manager tests
3 years ago
freddygv 77681b9f6c Pass partition to intention match query
3 years ago
Paul Banks e22cc9c53a Header manip for split legs plumbing
3 years ago
Paul Banks 83fc8723a3 Header manip for service-router plumbed through
3 years ago
Paul Banks f439dfc04f Ingress gateway header manip plumbing
3 years ago
Dhia Ayachi bc0e4f2f46
partition dicovery chains (#10983)
3 years ago
Dhia Ayachi 09197c989c
add partition to SNI when partition is non default (#10917)
3 years ago
freddygv f52bd80f6d Update comment for test function
3 years ago
freddygv af52d21884 Update prepared query cluster SAN validation
3 years ago
freddygv 85878685b7 Fixup proxy config test fixtures
3 years ago
Dhia Ayachi 1950ebbe1f
oss portion of ent #1069 (#10883)
3 years ago
R.B. Boyer 097e1645e3
agent: ensure that most agent behavior correctly respects partition configuration (#10880)
3 years ago
Daniel Nephin 0575498d0d proxycfg: Lookup the agent token as a default
3 years ago
Daniel Nephin b313f495b8 proxycfg: Add a test to show the bug
3 years ago
Freddy 19f6e1ca31
Log the correlation ID when blocking queries fire (#10689)
3 years ago
R.B. Boyer 188e8dc51f
agent/structs: add a bunch more EnterpriseMeta helper functions to help with partitioning (#10669)
3 years ago
freddygv b4c5c58c9b Add TODOs about partition handling
3 years ago
freddygv 47da00d3c7 Validate SANs for passthrough clusters and failovers
3 years ago
Daniel Nephin 10051cf6d3 proxycfg: remove unused method
3 years ago
Daniel Nephin 6bc5255028 proxycfg: move each handler into a seprate file
3 years ago
Daniel Nephin 19d3eeff3c
Merge pull request #9489 from hashicorp/dnephin/proxycfg-state-2
3 years ago
Nitya Dhanushkodi 52043830b4 proxycfg: reference to entry in map should not panic
3 years ago
Daniel Nephin e738fa3b80 Replace type conversion with embedded structs
3 years ago
Daniel Nephin 32c15d9a88 proxycfg: split state into kind-specific types
3 years ago
Daniel Nephin cd05df7157 proxycfg: unmethod hostnameEndpoints
3 years ago
Daniel Nephin 97c6ee00d7 Remove duplicate import
3 years ago
Daniel Nephin 0547d0c046
Merge pull request #9466 from hashicorp/dnephin/proxycfg-state
3 years ago
Nitya Dhanushkodi b8b44419a0
proxycfg: Ensure that endpoints for explicit upstreams in other datacenters are watched in transparent mode (#10391)
4 years ago
Daniel Nephin 016c5611d1 proxycfg: extract two types from state struct
4 years ago
Daniel Nephin 9c40aa729f proxycfg: pass context around where it is needed
4 years ago
Freddy 429f9d8bb8
Add flag for transparent proxies to dial individual instances (#10329)
4 years ago
freddygv c73703c08b Ensure entmeta is encoded in test correlationID
4 years ago
Daniel Nephin 347f3d2128
Merge pull request #10155 from hashicorp/dnephin/config-entry-remove-fields
4 years ago
Mark Anderson 6be9cebad0 Add tests for xds/listeners
4 years ago
Mark Anderson 06f0f79218 Continue working through proxy and agent
4 years ago
Freddy ed1082510d
Fixup discovery chain handling in transparent mode (#10168)
4 years ago
Daniel Nephin 62efaaab21 config-entry: remove Kind and Name field from Mesh config entry
4 years ago
R.B. Boyer 71d45a3460
Support Incremental xDS mode (#9855)
4 years ago
Freddy 078c40425f
Rename "cluster" config entry to "mesh" (#10127)
4 years ago
Daniel Nephin 2a26085b2c connect: do not set QuerySource.Node
4 years ago
Freddy 439a7fce2d
Split Upstream.Identifier() so non-empty namespace is always prepended in ent (#10031)
4 years ago
freddygv 8857195437 Fixup wildcard ent assertion
4 years ago
freddygv 7bd51ff536 Replace TransparentProxy bool with ProxyMode
4 years ago
freddygv b21224a4c8 PR comments
4 years ago
freddygv 49a4a78fd5 Ensure mesh gateway mode override is set for upstreams for intentions
4 years ago
freddygv 5140c3e51f Finish resolving upstream defaults in proxycfg
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
freddygv 098b9af901 Fixup enterprise tests from tproxy changes
4 years ago
freddygv eb1e0a1751 Cancel watch on all errors
4 years ago
freddygv f4f45af6d0 Merge master and fix upstream config protocol defaulting
4 years ago
freddygv 0da8702f34 PR comments
4 years ago
freddygv a54d6a9010 Update proxycfg for transparent proxy
4 years ago
Daniel Nephin f40b76af2d proxycfg: use rpcclient/health.Client instead of passing around cache name
4 years ago
Daniel Nephin 906834ce8e proxycfg: Use streaming in connect state
4 years ago
Freddy 82c269a7c5
Avoid potential proxycfg/xDS deadlock using non-blocking send
4 years ago
freddygv ec5f75776b Update comments on avoiding proxycfg deadlock
4 years ago
R.B. Boyer 43193a35c6
xds: prevent LDS flaps in mesh gateways due to unstable datacenter lists (#9651)
4 years ago
freddygv 6e443e5536 Retry send after timer fires, in case no updates occur
4 years ago
freddygv 95e7641faa Update proxycfg logging, labels were already attached
4 years ago
freddygv 5ba14ad41d Add trace logs to proxycfg state runner and xds srv
4 years ago
freddygv 37190c0d0d Avoid potential deadlock using non-blocking send
4 years ago
Daniel Nephin b9e60c0775 testing: skip slow tests with -short
4 years ago
freddygv 856d5a25ee Fix text type assertion
4 years ago
freddygv 7fd518ff1d Merge master
4 years ago
freddygv 87541ab80a Fix type assertion
4 years ago
freddygv 768dbaa68d Add session flag to cookie config
4 years ago
freddygv eab90ea9fa Revert EnvoyConfig nesting
4 years ago
freddygv 30ba080d25 Add explicit protocol overrides in tgw xds test cases
4 years ago
freddygv f81fe6a1a1 Remove LB infix and move injection to xds
4 years ago
freddygv 63f79e5f9b Restructure structs and other PR comments
4 years ago
freddygv 28d0602fc1 Pass LB config to Envoy via xDS
4 years ago
R.B. Boyer 74d5df7c7a
xds: use envoy's rbac filter to handle intentions entirely within envoy (#8569)
4 years ago
Matt Keeler be01c4241d
Default Cache rate limiting options in New
4 years ago
Pierre Souchay 505de6dc29
Added ratelimit to handle throtling cache (#8226)
4 years ago
Matt Keeler 12acdd7481
Disable background cache refresh for Connect Leaf Certs
4 years ago
Daniel Nephin 010a609912 Fix a bunch of unparam lint issues
4 years ago
Freddy 5baa7b1b04
Always return a gateway cluster (#8158)
5 years ago
Daniel Nephin 5afcf5c1bc
Merge pull request #8034 from hashicorp/dnephin/add-linter-staticcheck-4
5 years ago
Daniel Nephin 068b43df90 Enable gofmt simplify
5 years ago
Daniel Nephin cb050b280c ci: enable SA4006 staticcheck check
5 years ago
freddygv 19e3954603 Move compound service names to use ServiceName type
5 years ago
Freddy 166a8b2a58
Only pass one hostname via EDS and prefer healthy ones (#8084)
5 years ago
Freddy 9ed325ba8b
Enable gateways to resolve hostnames to IPv4 addresses (#7999)
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
Chris Piraino 9d9e23cc44 Add service id context to the proxycfg logger
5 years ago
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
Chris Piraino a0e1f57ac2 Remove development log line
5 years ago
Chris Piraino 26f92e74f6 Compute all valid DNSSANs for ingress gateways
5 years ago
Freddy c32a4f1ece
Fix up enterprise compatibility for gateways (#7813)
5 years ago
Chris Piraino 0bd5618cb2 Cleanup proxycfg for TLS
5 years ago
Freddy b069887b2a
Remove timeout and call to Fatal from goroutine (#7797)
5 years ago
Kyle Havlovitz f14c54e25e Add TLS option and DNS SAN support to ingress config
5 years ago
Chris Piraino 881760f701 xds: Use only the port number as the configured route name
5 years ago