Commit Graph

722 Commits (499fbdabaf26d43281d7f4a8f1fe8bdbad2b262d)

Author SHA1 Message Date
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
Freddy 9eb1867fbb
Terminating gateway discovery (#7571)
5 years ago
Daniel Nephin 0888c6575b Step 3: fix a bug in api.NewClient and fix the tests
5 years ago
Pierre Souchay 4d35816bee
tests: fixed unstable test TestAPI_AgentMonitor (#7561)
5 years ago
Freddy 90576060bc
Add config entry for terminating gateways (#7545)
5 years ago
Kyle Havlovitz c911174327
Add config entry/state for Ingress Gateways (#7483)
5 years ago
Pierre Souchay f1f778ffcc
FIX flaky test: TestAPI_AgentMonitorJSON
5 years ago
Freddy 18d356899c
Enable CLI to register terminating gateways (#7500)
5 years ago
Alejandro Baez bafa69bb69
Add PolicyReadByName for API (#6615)
5 years ago
Daniel Nephin 3f8578f1e1 ci: Use golangci-lint for linting
5 years ago
R.B. Boyer 6adad71125
wan federation via mesh gateways (#6884)
5 years ago
Matt Keeler 80ed304e04
Run make update-vendor and fixup various go.sum files
5 years ago
Matt Keeler 77074be9b8
Bump sdk module version to 0.4.0
5 years ago
Akshay Ganeshen 8beb716414
feat: support sending body in HTTP checks (#6602)
5 years ago
Matt Keeler d0cd092e3b
Catalog + Namespace OSS changes. (#7219)
5 years ago
Fouad Zaryouh ef6399928d
api: add replace-existing-checks param to the api package (#7136)
5 years ago
Matt Keeler 6855a778c2
Updates to the Txn API for namespaces (#7172)
5 years ago
Chris Piraino 401221de58
Allow users to configure either unstructured or JSON logging (#7130)
5 years ago
Michel Vocks 6681be918a api: add option to set TLS options in-memory for API client (#7093)
5 years ago
Matt Keeler b57c2b78fd
Unflake the TestAPI_AgentConnectCALeaf test (#7142)
5 years ago
Matt Keeler c09693e545
Updates to Config Entries and Connect for Namespaces (#7116)
5 years ago
Matt Keeler bbc2eb1951
Add the v1/catalog/node-services/:node endpoint (#7115)
5 years ago
R.B. Boyer 4af5c2d6dd
fix the submodule go.mod and go.sum files (#7098)
5 years ago
Paul Banks 1807af552e
Fix TestAPI_DiscoveryChain_Get flake (#7082)
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
neillyt a2ab9b4aee Fix Namespace Typo (#7030)
5 years ago