Commit Graph

18211 Commits

Author SHA1 Message Date
Kyle Havlovitz fce49a1ec0 Fix wildcard picking up services it shouldn't for ingress/terminating gateways 2022-08-02 09:41:31 -07:00
Sarah Alsmiller 8b30cb6e14 indent 2022-08-02 11:15:34 -05:00
sarahalsmiller 714f99e634
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx 2022-08-02 11:13:44 -05:00
sarahalsmiller 26ccd54375
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx 2022-08-02 11:12:36 -05:00
Sarah Alsmiller 4e105496a6 added to 2022-08-02 11:10:49 -05:00
sarahalsmiller e14753a3de
Update website/content/docs/api-gateway/install.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:09:39 -05:00
sarahalsmiller 0921e23447
Update website/content/docs/api-gateway/install.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:08:52 -05:00
sarahalsmiller 0abeddef75
Update website/content/docs/api-gateway/install.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:08:16 -05:00
Sarah Alsmiller a6f5a7dcb4 reformat 2022-08-02 11:07:29 -05:00
sarahalsmiller c758501df8
Update website/content/docs/api-gateway/install.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:04:47 -05:00
sarahalsmiller 6f5dfa4596
Update website/content/docs/api-gateway/configuration/index.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:01:21 -05:00
sarahalsmiller 3d0a05afc7
Update website/content/docs/api-gateway/configuration/index.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 11:00:38 -05:00
sarahalsmiller 6ca84569ee
Update website/content/docs/api-gateway/configuration/index.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 10:59:55 -05:00
sarahalsmiller 6cac7b76a1
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 10:58:27 -05:00
sarahalsmiller 38091bd18a
Update website/content/docs/api-gateway/configuration/gatewayclass.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 10:57:50 -05:00
sarahalsmiller ef276ffd15
Update website/content/docs/api-gateway/install.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-02 10:55:44 -05:00
DanStough 815d1554c9 chore: changelog for destinations 2022-08-02 10:48:00 -04:00
Daniel Upton 8da6710958 proxycfg-sources: fix hot loop when service not found in catalog
Fixes a bug where a service getting deleted from the catalog would cause
the ConfigSource to spin in a hot loop attempting to look up the service.

This is because we were returning a nil WatchSet which would always
unblock the select.

Kudos to @freddygv for discovering this!
2022-08-02 15:42:29 +01:00
Freddy 56144cf5f7
Various peering fixes (#13979)
* Avoid logging StreamSecretID
* Wrap additional errors in stream handler
* Fix flakiness in leader test and rename servers for clarity. There was
  a race condition where the peering was being deleted in the test
  before the stream was active. Now the test waits for the stream to be
  connected on both sides before deleting the associated peering.
* Run flaky test serially
2022-08-01 15:06:18 -06:00
sarahalsmiller 9b07bf91f8
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-08-01 16:02:49 -05:00
sarahalsmiller 02dcd4a0a9
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx 2022-08-01 15:59:15 -05:00
sarahalsmiller c3b825c474
Update website/content/docs/api-gateway/configuration/gatewayclass.mdx 2022-08-01 15:56:38 -05:00
sarahalsmiller c5a36bb917
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx 2022-08-01 15:55:38 -05:00
Sarah Alsmiller ebccfd1026 added tls config context 2022-08-01 15:54:09 -05:00
Sarah Alsmiller 5ad88c661b added context to tls settings 2022-08-01 15:47:49 -05:00
DanStough e46a4b3cc1 fix: ipv4 destination dns resolution 2022-08-01 16:45:57 -04:00
Evan Culver c548112ef3
ci: Use pattern for CRT release branch config (#13955) 2022-08-01 12:56:55 -07:00
boruszak 52656f4426 Proofing updates & adjustments 2022-08-01 14:43:10 -05:00
boruszak 58a7b3aece Updated functionality + task instructions 2022-08-01 14:28:50 -05:00
Luke Kysow e9960dfdf3
peering: default to false (#13963)
* defaulting to false because peering will be released as beta
* Ignore peering disabled error in bundles cachetype

Co-authored-by: Matt Keeler <mkeeler@users.noreply.github.com>
Co-authored-by: freddygv <freddy@hashicorp.com>
Co-authored-by: Matt Keeler <mjkeeler7@gmail.com>
2022-08-01 15:22:36 -04:00
Freddy 593add2ec0
Merge pull request #13499 from maxb/delete-unused-metric
Delete definition of metric `consul.acl.blocked.node.deregistration`
2022-08-01 12:31:05 -06:00
Dhia Ayachi cf7e175eab
Tgtwy egress HTTP support (#13953)
* add golden files

* add support to http in tgateway egress destination

* fix slice sorting to include both address and port when using server_names

* fix listener loop for http destination

* fix routes to generate a route per port and a virtualhost per port-address combination

* sort virtual hosts list to have a stable order

* extract redundant serviceNode
2022-08-01 14:12:43 -04:00
boruszak 31df478292 Beta release constraints updated 2022-08-01 10:43:38 -05:00
Jared Kirschner d2320d7353
Merge pull request #13871 from hashicorp/docs-update-enterprise-licensing-description
docs: update enterprise licensing description
2022-08-01 11:36:11 -04:00
boruszak 5855a10786 Nav correction 2022-08-01 10:31:02 -05:00
boruszak e9c8abefcb Update "technical preview" to "beta" 2022-08-01 10:30:36 -05:00
Matt Keeler 795e5830c6
Implement/Utilize secrets for Peering Replication Stream (#13977) 2022-08-01 10:33:18 -04:00
Jared Kirschner 9d714b11bc
Merge pull request #13966 from hashicorp/jkirschner-hashicorp-patch-1
docs: fix k8s prepared query upstream link
2022-07-29 18:09:57 -04:00
Jared Kirschner a7980de7b0
docs: fix k8s prepared query upstream link 2022-07-29 18:00:56 -04:00
alex 0f6354685b
block PeerName register requests (#13887)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-29 14:36:22 -07:00
Luke Kysow 17594a123e
peering: retry establishing connection more quickly on certain errors (#13938)
When we receive a FailedPrecondition error, retry that more quickly
because we expect it will resolve shortly. This is particularly
important in the context of Consul servers behind a load balancer
because when establishing a connection we have to retry until we
randomly land on a leader node.

The default retry backoff goes from 2s, 4s, 8s, etc. which can result in
very long delays quite quickly. Instead, this backoff retries in 8ms
five times, then goes exponentially from there: 16ms, 32ms, ... up to a
max of 8152ms.
2022-07-29 13:04:32 -07:00
Sarah Pratt 11c7a465b7 Separate port and socket path requirement in case of local agent assignment 2022-07-29 13:28:21 -05:00
sarahalsmiller d28aa70c11
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-29 12:07:36 -05:00
sarahalsmiller 612150b4f7
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-29 10:23:20 -05:00
Sarah Alsmiller 53ee7f376b parametesRef set to optional 2022-07-29 10:12:45 -05:00
Chris S. Kim 96c266becf Ensure connections are closed before WaitGroup marked as done
The previous ordering of defers meant the listener's connWG could fire and wake up other goroutines before the connection closed. Unsure if this caused any real bugs but this commit should make the code more correct.
2022-07-29 09:29:13 -04:00
sarahalsmiller bcf58d544c
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:52:19 -05:00
sarahalsmiller 815734a944
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:37:39 -05:00
sarahalsmiller 5ca812faa7
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:37:07 -05:00
sarahalsmiller 65a5a6729a
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 17:35:21 -05:00