Commit Graph

748 Commits (2274f35c89ceb6001542da5b94551981a51cd1f8)

Author SHA1 Message Date
Freddy d2e50fd130
Sync partitions support in api module (#10938)
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 4359e38114 debug: restore cancel on SigInt
3 years ago
R.B. Boyer 310e775a8a
state: partition nodes and coordinates in the state store (#10859)
3 years ago
Daniel Nephin de3439b2cc api: remove client library tests for old API endpoints
3 years ago
Kyle Havlovitz 073b6c8411 oss: Rename default partition
3 years ago
Mark Anderson d3cebbd32c
Fixup to support unix domain socket via command line (#10758)
3 years ago
Daniel Nephin d3325b0253
Merge pull request #10612 from bigmikes/acl-replication-fix
3 years ago
Giulio Micheloni d4a3fe33e8 String type instead of error type and changelog.
3 years ago
Daniel Nephin 97fed47708
Merge pull request #10632 from hashicorp/pairing/acl-authorizer-when-acl-disabled
3 years ago
Blake Covarrubias c919f2d9ea
api: Support QueryOptions on additional agent endpoints (#10691)
3 years ago
Evan Culver 4c4bbfb7c0 Fix api/agent test
3 years ago
Evan Culver f2d30bbc88 Fix api/agent test
3 years ago
Daniel Nephin c3149ec0fd debug: use the new metrics stream in debug command
3 years ago
R.B. Boyer 96b97d6554
replumbing a bunch of api and agent structs for partitions (#10681)
3 years ago
R.B. Boyer fc9b1a277d
sync changes to oss files made in enterprise (#10670)
3 years ago
Evan Culver 0527dcff57
acls: Show `AuthMethodNamespace` when reading/listing ACL token meta (#10598)
3 years ago
Kyle Havlovitz 77a2f38677 http: add partition query param parsing
3 years ago
Evan Culver 8fce7083c1
tests: skip cases that depend on test server when -short flag set (#10576)
3 years ago
Evan Culver 13bd86527b
Add support for returning ACL secret IDs for accessors with acl:write (#10546)
3 years ago
Daniel Nephin ec6da0859d
Merge pull request #10570 from hashicorp/copy-of-master
3 years ago
Jared Kirschner e517e744af
Merge pull request #10559 from jkirschner-hashicorp/fix-autopilot-config-post-default-values
3 years ago
Jared Kirschner 14059c2653 Fix defaults for autopilot config update
3 years ago
Daniel Nephin 3a045cca8d ca: remove unused RotationPeriod field
3 years ago
Kyle Nusbaum e72a703041 api: change io.Discard to ioutil.Discard
3 years ago
Daniel Nephin 6ac9149c3f api: properly close the response body
4 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 4c7f5f31c7
debug: remove the CLI check for debug_enabled (#10273)
4 years ago
Rémi Lapeyre 213524a657
Always set the Content-Type header when a body is present (#10204)
4 years ago
Matt Keeler 08eb600ee5 Deprecate API driven licensing.
4 years ago
Iryna Shustava d7d44f6ae7
Save exposed ports in agent's store and expose them via API (#10173)
4 years ago
Daniel Nephin 0f53d6e119 api: fix mesh config entry tests for default namespace
4 years ago
Mark Anderson f808a25a73 Fixup checksums for tests
4 years ago
Mark Anderson 4d0346bc46 Fixup filtering tests
4 years ago
Daniel Nephin 347f3d2128
Merge pull request #10155 from hashicorp/dnephin/config-entry-remove-fields
4 years ago
Daniel Nephin c8c85523e1 config-entries: add a test for the API client
4 years ago
Mark Anderson 8040f91a43 Add support for downstreams
4 years ago
Mark Anderson 583ae65d5b Convert mode to string representation
4 years ago
Mark Anderson 8b1217417a First changes for unix domain sockets upstreams
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
Freddy 078c40425f
Rename "cluster" config entry to "mesh" (#10127)
4 years ago
R.B. Boyer 4db8b78854
connect: update centralized upstreams representation in service-defaults (#10015)
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
freddygv 98ba582797 Fixup mesh gateway docs
4 years ago
Freddy a02245b75a
Merge pull request #9976 from hashicorp/centralized-upstream-fixups
4 years ago
freddygv d6db67ef86 Fixup test
4 years ago
Daniel Nephin 5d21d4d77f
Merge pull request #9925 from hashicorp/dnephin/update-memberlist
4 years ago
freddygv ab752c1c86 Avoid sending zero-value upstream defaults from api
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
Daniel Nephin 46279547ec Update memberlist to v0.2.3
4 years ago
Seth Hoenig cd1cd4febd api: enable query options on agent endpoints
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
Christopher Broglie f0307c73e5 Add support for configuring TLS ServerName for health checks
4 years ago
freddygv 6090cfcf68 PR comments
4 years ago
freddygv 8b46d8dcbb Restore old Envoy prefix on escape hatches
4 years ago
freddygv 41b2ba1e58 Add omitempty across the board for UpstreamConfig
4 years ago
Matt Keeler 30903db442
AutopilotServerHealth now handles the 429 status code (#8599)
4 years ago
freddygv 23ffa3d3f3 And another test fix
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
freddygv 87cde19b4c Create new types for service-defaults upstream cfg
4 years ago
Mark Anderson b9d22f48cd
Add fields to the /acl/auth-methods endpoint. (#9741)
4 years ago
Kyle Havlovitz 7dac583863 connect/ca: Allow ForceWithoutCrossSigning for all providers
4 years ago
Conor Mongey 7a368bd2b6
Move header methods from config to client
4 years ago
Conor Mongey eb65e59741
Only override headers if they're set
4 years ago
Conor Mongey f647569b84
Prefer http.Header over map[string]string to allow for multi-valued headers
4 years ago
Conor Mongey cdc8cd7b0e
Allow setting arbitrary headers in API client
4 years ago
Daniel Nephin 5a7f4c0dea
Merge pull request #8609 from hashicorp/dnephin/add-query-options-to-ServiceRegister
4 years ago
Mike Morris ab927d5480 Merge pull request #9270 from hashicorp/release/1.9.0
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
Matt Keeler 66fd23d67f
Refactor to call non-voting servers read replicas (#9191)
4 years ago
Freddy fe728855ed
Add DC and NS support for Envoy metrics (#9207)
4 years ago
Matt Keeler 7f87adbcf4
Remove this constant as it is soon to be changing and we want to prevent backwards compat issues (#9193)
4 years ago
R.B. Boyer 61eac21f1a
agent: return the default ACL policy to callers as a header (#9101)
4 years ago
Matt Keeler 7ef9b04f90
Add a CLI command for retrieving the autopilot configuration. (#9142)
4 years ago
Matt Keeler c048e86bb2
Switch to using the external autopilot module
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 e113dc0fe2
upstream some differences from enterprise (#8902)
4 years ago
Matt Keeler 38f5ddce2a
Add per-agent reconnect timeouts (#8781)
4 years ago
R.B. Boyer 0c9177f6a5
api: unflake some intention-related api tests (#8857)
4 years ago
R.B. Boyer 1b413b0444
connect: support defining intentions using layer 7 criteria (#8839)
4 years ago
R.B. Boyer a2a8e9c783
connect: intentions are now managed as a new config entry kind "service-intentions" (#8834)
4 years ago
R.B. Boyer d2eb27e0a3
api: support GetMeta() and GetNamespace() on all config entry kinds (#8764)
4 years ago
freddygv 7b9d1b41d5 Resolve conflicts against master
4 years ago
freddygv 768dbaa68d Add session flag to cookie config
4 years ago
freddygv eab90ea9fa Revert EnvoyConfig nesting
4 years ago
Seth Hoenig 9fab3fe990
api: create fresh http client for unix sockets (#8602)
4 years ago
Freddy c9c9e4face
Make LockDelay configurable in api locks (#8621)
4 years ago
Daniel Nephin d083d4717b api: Add a context to ServiceRegisterOpts
4 years ago
freddygv eaa250cc80 Ensure resolver node with LB isn't considered default
4 years ago
freddygv f81fe6a1a1 Remove LB infix and move injection to xds
4 years ago
R.B. Boyer 119e945c3e
connect: all config entries pick up a meta field (#8596)
4 years ago
freddygv 63f79e5f9b Restructure structs and other PR comments
4 years ago
freddygv 0236e169bb Add documentation for resolver LB cfg
4 years ago
freddygv ff56a64b08 Add LB policy to service-resolver
4 years ago
Jack 9e1c6727f9
Add http2 and grpc support to ingress gateways (#8458)
4 years ago
Matt Keeler 7c3914d89e
Add helpers to the API client to help with getting information from `AgentMember` tags (#8575)
4 years ago
Hans Hasselberg a932aafc91
add primary keys to list keyring (#8522)
4 years ago
Daniel Nephin d68edcecf4 testing: Remove all the defer os.Removeall
4 years ago
Mike Morris 48e7c07cf9
api: bump consul/api to v1.6.0 and consul/sdk to v0.6.0 (#8460)
4 years ago
Daniel Nephin ed8210fe4d api: Use a Logger instead of an io.Writer in api.Watch
4 years ago
Mike Morris 85ef7ba943
api: restore Leader() and Peers() to avoid breaking function signatures (#8395)
4 years ago
spooner c34b088583
Added QueryOptions for status api (#7818)
4 years ago
R.B. Boyer e853368c23
gossip: Avoid issue where two unique leave events for the same node could lead to infinite rebroadcast storms (#8343)
4 years ago
Daniel Nephin 51efba2c7d testutil: NewLogBuffer - buffer logs until a test fails
4 years ago
Freddy e72af87918
Add api mod support for /catalog/gateway-services (#8278)
4 years ago
Seth Hoenig 95f46eb3ed
api/agent: enable setting SuccessBeforePassing and FailuresBeforeCritical in API (#7949)
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
freddygv c791fbc79c Update namespaces subject-verb agreement
5 years ago
s-christoff 818d00fda3
Add AgentMemberStatus const (#8110)
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
Matt Keeler d3881dd754
ACL Node Identities (#7970)
5 years ago
Chris Piraino 91ab89dd48
Move ingress param to a new endpoint (#8081)
5 years ago
Chris Piraino 496e683360
Merge pull request #8064 from hashicorp/ingress/health-query-param
5 years ago
Chris Piraino 5e0cd7ede5 Remove unnecessary defer from api.health_test.go
5 years ago
Daniel Nephin 08f1ed16b4
Merge pull request #7900 from hashicorp/dnephin/add-linter-staticcheck-2
5 years ago
Chris Piraino 4837069fe0 api: update api module with health.Ingress() method
5 years ago
Daniel Nephin caa692deea ci: Enabled SA2002 staticcheck check
5 years ago
Daniel Nephin ce6cc094a1 intentions: fix a bug in Intention.SetHash
5 years ago
R.B. Boyer 833211c14c
acl: allow auth methods created in the primary datacenter to optionally create global tokens (#7899)
5 years ago
R.B. Boyer ffb9c7d6f7
acl: remove the deprecated `acl_enforce_version_8` option (#7991)
5 years ago
Jono Sosulska c554ba9e10
Replace whitelist/blacklist terminology with allowlist/denylist (#7971)
5 years ago
Daniel Nephin c88fae0aac ci: Add staticcheck and fix most errors
5 years ago
Daniel Nephin 8ced4300c8 Add alias struct tags for new decode hook
5 years ago
Daniel Nephin 600645b5f9 Add unconvert linter
5 years ago
R.B. Boyer 1efafd7523
acl: add auth method for JWTs (#7846)
5 years ago
Kyle Havlovitz 136549205c
Merge pull request #7759 from hashicorp/ingress/tls-hosts
5 years ago
Chris Piraino 5105bf3d67
Require individual services in ingress entry to match protocols (#7774)
5 years ago
Chris Piraino 0c22eacca8 Add TLS field to ingress API structs
5 years ago
Chris Piraino d8517bd6fd Better document wildcard specifier interactions
5 years ago
Chris Piraino f40833d094 Allow Hosts field to be set on an ingress config entry
5 years ago
Chris Piraino b73a13fc9e Remove service_subset field from ingress config entry
5 years ago
R.B. Boyer a854e4d9c5
acl: oss plumbing to support auth method namespace rules in enterprise (#7794)
5 years ago
R.B. Boyer 22eb016153
acl: add MaxTokenTTL field to auth methods (#7779)
5 years ago
R.B. Boyer ca52ba7068
acl: add DisplayName field to auth methods (#7769)
5 years ago
Freddy 137a2c32c6
TLS Origination for Terminating Gateways (#7671)
5 years ago
Chris Piraino 115d2d5db5
Expect default enterprise metadata in gateway tests (#7664)
5 years ago
Matt Keeler d24b65b8f0
Update API module to include the licensed modules in its output (#7661)
5 years ago
Kyle Havlovitz e9e8c0e730
Ingress Gateways for TCP services (#7509)
5 years ago
Chris Piraino 3d2de925d8
Add support for ingress-gateway in CLI command (#7618)
5 years ago
Daniel Nephin 6b860c926f
Merge pull request #7608 from hashicorp/dnephin/grpc-default-scheme
5 years ago