Commit Graph

18275 Commits

Author SHA1 Message Date
Chris S. Kim c14b166b80 Fix flakes 2022-08-22 14:45:31 -04:00
Chris S. Kim 587c57d3f4 Increase heartbeat rate to reduce test flakes 2022-08-22 14:24:05 -04:00
Chris S. Kim c68e589f26 Remove check for ResponseNonce 2022-08-22 13:55:01 -04:00
Chris S. Kim 0ae3462e61 Add missing mock assertions 2022-08-22 13:55:01 -04:00
Chris S. Kim 575a56062f Fix data race
newMockSnapshotHandler has an assertion on t.Cleanup which gets called before the event publisher is cancelled. This commit reorders the context.WithCancel so it properly gets cancelled before the assertion is made.
2022-08-22 13:55:01 -04:00
Chris S. Kim 710dc7d008 Add changelog 2022-08-22 13:42:13 -04:00
Chris S. Kim 98d102326f Handle server addresses update as client 2022-08-22 13:42:12 -04:00
Chris S. Kim 205e873689 Send server addresses on update from server 2022-08-22 13:41:44 -04:00
Chris S. Kim 4cf54bef4e Add new subscription for server addresses 2022-08-22 13:40:25 -04:00
Chris S. Kim e1a7456a69 Cleanup unused logger 2022-08-22 13:40:23 -04:00
Chris S. Kim 9f96f98ab6 Expose external gRPC port in autopilot
The grpc_port was added to a NodeService's meta in ea58f235f5da416224ba615405269661ba1f4d8d
2022-08-22 10:07:00 -04:00
Chris S. Kim b71b187366 Add PeeringServerAddresses proto 2022-08-22 10:04:23 -04:00
Jared Kirschner 8386c3b54f
Merge pull request #14279 from hashicorp/docs/1-13-upgrade-considerations-changelog
docs: add 1.13 upgrade considerations to changelog
2022-08-19 14:32:52 -04:00
Jared Kirschner 9d1086b115 docs: add 1.13 upgrade considerations to changelog 2022-08-19 11:29:57 -07:00
cskh a87d8f48be
fix: missing MaxInboundConnections field in service-defaults config entry (#14072)
* fix:  missing max_inbound_connections field in merge config
2022-08-19 14:11:21 -04:00
Chris Thain f4bfb6d499
Skip Lambda integration tests for fork PRs (#14257) 2022-08-18 16:06:20 -07:00
Jared Kirschner 92b718ad96
Merge pull request #14259 from hashicorp/docs/1-13-upgrade-considerations
docs: add 1.13 upgrade considerations
2022-08-18 18:18:33 -04:00
Jared Kirschner 18bb45db75 docs: add 1.13 upgrade considerations
Adds guidance when upgrading a Consul service mesh deployment to 1.13 and:
- using auto-encrypt or auto-config; or
- the HTTPS port is not enabled on Consul agents
2022-08-18 15:13:21 -07:00
Evan Culver f92aee09f8
Add missing changelog for 1.9.17 (#14053) 2022-08-18 12:59:03 -07:00
Mariano Asselborn 3f88847590
Add version label to Docker image (#14204) 2022-08-18 14:41:34 -04:00
Jared Kirschner b901a2909f
Merge pull request #14231 from hashicorp/jkirschner-hashicorp-patch-4
docs: fix broken markdown
2022-08-18 14:30:22 -04:00
cskh 7f66dfc780
Fix: upgrade pkg imdario/merg to prevent merge config panic (#14237)
* upgrade imdario/merg to prevent merge config panic

* test: service definition takes precedence over service-defaults in merged results
2022-08-17 21:14:04 -04:00
Michele Degges bc6ee86d29
set PRODUCT_VERSION for docker build (#14242)
Changes proposed in this PR:

In `actions-docker-build` we [pass](05c370a26e/scripts/docker_build (L49)) `PRODUCT_VERSION` to the docker build command. Since this was not set, the label did not populate properly which is used in a comparison to determine the `minor-latest` and `latest` docker image tags. 

How I've tested this PR:
 - build the image up to the point of label creation and pass in `--build-arg PRODUCT_VERSION=1.2.3`
 - inspect the image for the label with the above command

How I expect reviewers to test this PR:
- same as above

Related [internal-only] post about this: https://hashicorp.atlassian.net/wiki/spaces/RELENG/pages/2416934922/August+17+2022-+Docker+Build+Failures
2022-08-17 14:48:43 -07:00
James Hartig a5a200e0e9 Use the maximum jitter when calculating the timeout
The timeout should include the maximum possible
jitter since the server will randomly add to it's
timeout a jitter. If the server's timeout is less
than the client's timeout then the client will
return an i/o deadline reached error.

Before:
```
time curl 'http://localhost:8500/v1/catalog/service/service?dc=other-dc&stale=&wait=600s&index=15820644'
rpc error making call: i/o deadline reached
real    10m11.469s
user    0m0.018s
sys     0m0.023s
```

After:
```
time curl 'http://localhost:8500/v1/catalog/service/service?dc=other-dc&stale=&wait=600s&index=15820644'
[...]
real    10m35.835s
user    0m0.021s
sys     0m0.021s
```
2022-08-17 10:24:09 -04:00
Jared Kirschner 149f6a610d
docs: fix broken markdown 2022-08-16 23:08:09 -04:00
Evan Culver 14494d84e0
ci: Replace Nomad integration tests with predictable compatibility matrix (#14220) 2022-08-16 15:33:33 -07:00
Jeff Apple 6b33c3719c
Merge pull request #14196 from hashicorp/docs/capigw-v0.4.0
Docs updates for Consul API Gateway v0.4.0
2022-08-16 10:50:03 -07:00
Jeff-Apple f98380ab55 Added Known Issues and other edits to Rel Notes 2022-08-16 10:48:13 -07:00
Jeff Apple 9f2798a5bf
Minor edits to Release Notes 2022-08-16 09:36:23 -07:00
Jeff Apple 5c6bfee65d
Minor edits to Release Notes
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-08-16 09:31:46 -07:00
Jeff Apple 0314d7cbbb
Update website/content/docs/release-notes/consul-api-gateway/v0_4_x.mdx 2022-08-16 09:26:02 -07:00
sarahalsmiller e08eaa1d6a
Merge pull request #14205 from hashicorp/api-gateway-install-redirrects
Add missing install redirrect to redirrect.js for api-gateway docs
2022-08-15 18:14:27 -05:00
sarahalsmiller a95e0121a6
Update redirects.js 2022-08-15 18:00:08 -05:00
sarahalsmiller f06d4f234d
Update redirects.js 2022-08-15 17:52:47 -05:00
trujillo-adam da1b8b5224
Merge pull request #14175 from hashicorp/docs/capigw-040-route-details-prefix-rewrite
Docs/capigw 040 route details prefix rewrite
2022-08-15 14:39:00 -07:00
Nathan Coleman 64695eca79
Fix typo 2022-08-15 17:21:36 -04:00
Nathan Coleman 1ce15b3044
Apply suggestions from code review 2022-08-15 17:13:44 -04:00
trujillo-adam ceb5afc408
Apply suggestions from code review
Co-authored-by: Nathan Coleman <nathan.coleman@hashicorp.com>
2022-08-15 14:02:46 -07:00
Nathan Coleman 5cdf102222
Merge branch 'docs/capigw-v0.4.0' into docs/capigw-040-route-details-prefix-rewrite 2022-08-15 12:01:19 -04:00
Nathan Coleman 8f64ef73e3 Update ReferencePolicy -> ReferenceGrant 2022-08-15 11:56:54 -04:00
Nathan Coleman 4104086ca9 Add missing code block 2022-08-15 11:49:41 -04:00
Nathan Coleman b5af71b1f0 Replace MeshService section on Route page w/ link to new page 2022-08-15 11:16:38 -04:00
Nathan Coleman 8421b14ca8 Add new MeshService config page to nav 2022-08-15 11:14:27 -04:00
Nathan Coleman d204422466 Add page for MeshService configuration object for Consul API Gateway 2022-08-15 11:13:18 -04:00
Nathan Coleman afb244de61 Fix typo in Gateway docs header 2022-08-15 11:12:58 -04:00
Eric Haberkorn 40ce1c8288
Add `Targets` field to service resolver failovers. (#14162)
This field will be used for cluster peering failover.
2022-08-15 09:20:25 -04:00
trujillo-adam 2939be591b implemented additional information about route configuration 2022-08-14 10:53:43 -07:00
Jeff-Apple e317b493dd Release Notes for CAPIgw v0.4.x 2022-08-12 14:17:29 -07:00
cskh c20d016f62
fix: missing segment and partition (#14194) 2022-08-12 15:21:39 -04:00
Eric Haberkorn 11884bfb99
Refactor failover code to use Envoy's aggregate clusters (#14178) 2022-08-12 14:30:46 -04:00