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
a54903b0f4
Merge branch 'main' into fix-kv_entries-metric
2022-08-01 13:19:27 -06: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
Michael Wilkerson
d67734bf9e
update docs ( #13842 )
...
* update docs
* Update website/content/docs/nia/cli/start.mdx
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-08-01 11:14:24 -05:00
Michael Wilkerson
2439951f7b
Nia/cts tasks not required ( #13731 )
...
* update docs
* Update website/content/docs/nia/configuration.mdx
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-08-01 11:14:24 -05:00
Noe Brown
2977d73342
Updated the default service name to lower case
...
Changes to doc :
Changed default service_name to consul-terraform-sync. Service name is used in service registration it was previously proper case, it is now lower case.
2022-08-01 11:14:24 -05: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
sarahalsmiller
3708dd18c9
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:01 -05:00
sarahalsmiller
fbe0eedf2f
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:34:55 -05:00
sarahalsmiller
64c62de47f
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:34:46 -05:00
sarahalsmiller
bf7b938ea4
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:34:34 -05:00
sarahalsmiller
d5fc31e19e
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:06:29 -05:00
sarahalsmiller
5a69d18a4b
Update website/content/docs/api-gateway/configuration/gatewayclassconfig.mdx
...
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-28 16:52:25 -05:00
alex
74d79cc7e6
Merge pull request #13952 from hashicorp/sync-more-acl
...
sync more acl enforcement
2022-07-28 12:31:02 -07:00
Dhia Ayachi
09340a846c
inject gateway addons to destination clusters ( #13951 )
2022-07-28 15:17:35 -04:00
acpana
70e052f35f
sync more acl enforcement
...
sync w ent at 32756f7
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-28 12:01:52 -07:00
trujillo-adam
0e7c640b9e
tweaks to the basic usage topic
2022-07-28 11:38:50 -07:00
trujillo-adam
cf7310377c
tweaks to the configuration overview page
2022-07-28 11:04:21 -07:00
alex
08b94640bc
Merge pull request #13929 from hashicorp/fix-validation
...
[sync] fix empty partitions matching
2022-07-28 10:14:49 -07:00
trujillo-adam
79ff210efe
more tweaks to gatewayclass docs
2022-07-28 10:02:12 -07:00