Commit graph

17857 commits

Author SHA1 Message Date
Thomas Eckert 6b07998598 Remove the beta warning for the upgrade command 2022-08-09 12:25:43 -04:00
Thomas Eckert 207e547ccb
Apply Adam's suggestions
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-08-08 21:26:38 -04:00
Thomas Eckert f5b3de0e32 Clean up copy for the raw example 2022-08-08 17:32:47 -04:00
Thomas Eckert 4bd5888cad
Clean up raw copy
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 17:28:36 -04:00
Thomas Eckert c12a77e1ad Combine shell sessions 2022-08-08 17:25:33 -04:00
Thomas Eckert 44eb0ced84
Clean up external links about proxies
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 17:09:33 -04:00
Thomas Eckert 742d64d67f
Add colon
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 17:08:18 -04:00
Thomas Eckert b02194f3a6 Remove extra space from commands 2022-08-08 17:03:15 -04:00
Thomas Eckert 64ca1f0a69
See -> Refer to the
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:58:43 -04:00
Thomas Eckert eab58a77da
Note -> Tip
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:58:19 -04:00
Thomas Eckert e6db11bc54
to -> on
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:57:31 -04:00
Thomas Eckert 892f714ae5 Clarify use of Helm 2022-08-08 16:56:26 -04:00
Thomas Eckert 232cbd439d
Update website/content/docs/k8s/k8s-cli.mdx
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:55:10 -04:00
Thomas Eckert 3d994d917c Make external reference links sentences 2022-08-08 15:33:53 -04:00
Thomas Eckert f51d245621 Add read command examples 2022-08-08 15:16:55 -04:00
Thomas Eckert 3d2b382153 Change &nbsp; to <nobr> 2022-08-08 14:56:50 -04:00
Thomas Eckert 3bc6a375c8 Remove "Required" column from options (they are all optional) 2022-08-08 12:57:48 -04:00
Thomas Eckert 2c0cb813d4 Update the table of contents with better descriptions 2022-08-08 12:53:41 -04:00
Thomas Eckert 9cb569b44e Add options and examples to proxy read 2022-07-22 13:43:38 -04:00
Thomas Eckert a1ca68a632 Add descriptions to the subjects 2022-07-22 12:14:01 -04:00
Thomas Eckert a339080641 Add proxy list docs 2022-07-21 17:47:39 -04:00
Thomas Eckert 65b242edfb Move uninstall down to be alphabetically sorted 2022-07-20 15:14:14 -04:00
Thomas Eckert 591d350f64 Clean and clarify intro 2022-07-20 15:09:00 -04:00
Luke Kysow 28dd74a9d1
Add heartbeat proto to peer stream (#13804) 2022-07-20 11:31:02 -07:00
Michael Klein 59b044f96d
ui: no partition and peer in bucket-list at the same time (#13812)
* don't show partition / peer at the same time in bucket-list

* use bucket-list in intentions table

* add bucket-list tests

* Simplify bucket list - match old behavior

Refactor the bucket-list component to be easier to grok and match
how the old template based approach worked. I.e. do not surface
partition or namespace when it matches the passed nspace or partition
property.

* Update docs for bucket-list

* fix linting
2022-07-20 16:07:52 +01:00
John Cowen 9176d3ed33
ui: Add Peer Form (#13794) 2022-07-20 12:58:47 +01:00
John Cowen a9d3de8b3e
ui: Peer token use form (#13792) 2022-07-20 12:38:39 +01:00
Evan Culver 285b4cef2b
connect: Add support for Envoy 1.23, remove 1.19 (#13807) 2022-07-19 14:51:04 -07:00
Paul Glass a9f17c0f99
Extract AWS auth implementation out of Consul (#13760) 2022-07-19 16:26:44 -05:00
Chris S. Kim dcc230f699
Make envoy resources for inferred peered upstreams (#13758)
Peered upstreams has a separate loop in xds from discovery chain upstreams. This PR adds similar but slightly modified code to add filters for peered upstream listeners, clusters, and endpoints in the case of transparent proxy.
2022-07-19 14:56:28 -04:00
alex 64b3705a31
peering: refactor reconcile, cleanup (#13795)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-19 11:43:29 -07:00
Ranjandas 6b653fb827
Update Single DC Multi K8S doc (#13278)
* Updated note with details of various K8S CNI options

Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-07-19 09:45:41 -07:00
Luke Kysow a0640aa696
makefile: give better error for tool installed by wrong package (#13797)
I had protoc-gen-go installed through `google.golang.org/protobuf` instead of
`github.com/golang/protobuf` and `make proto` was failing silently.
This change will ensure you get an error:

```
protoc-gen-go is already installed by module "google.golang.org/protobuf" but
should be installed by module "github.com/golang/protobuf".
Delete it and re-run to re-install.
```
2022-07-19 09:16:24 -07:00
Michael Klein 7bfe4dd020
ui: chore - fix CI test-suite (#13799)
* fix linting issue

* Update datacenter selector page-object to not include separator.

* change non-valid li to div for singe dc name
2022-07-19 14:06:11 +01:00
Jared Kirschner 2acc4faca1
Merge pull request #13787 from hashicorp/fix-acl-read-token-self-expanded-panic
Fix panic on acl token read with -self and -expanded
2022-07-18 20:34:50 -04:00
Luke Kysow eba682fc08
peerstream: set keepalive enforcement to 15s (#13796)
The client is set to send keepalive pings every 30s. The server
keepalive enforcement must be set to a number less than that,
otherwise it will disconnect clients for sending pings too often.
MinTime governs the minimum amount of time between pings.
2022-07-18 16:12:03 -07:00
Jared Kirschner 47c3a92711 Fix panic on acl token read with -self and -expanded 2022-07-18 15:52:05 -07:00
alex 84b458149f
fix leader annotation (#13786)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-18 10:34:59 -07:00
alex 4ff097c4cf
peering: track exported services (#13784)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-18 10:20:04 -07:00
John Cowen 987b6255fb
ui: Add peer token generation form (#13755)
* ui: Add peer token generation form
2022-07-18 17:39:52 +01:00
John Cowen 539abdf60f
ui: Adds Peer initiation form (#13754) 2022-07-18 17:39:22 +01:00
John Cowen c474a369f6
ui: Add a modal.opened property for inspecting whether the modal is open (#13723)
* ui: Add a modal.opened property for inspecting whether the modal is open

* merge isOpen setting into the exiting event handler

* Revert to multiple listeners, plus comment to explain

* Wrap close in an afterRender
2022-07-18 15:30:37 +01:00
Michael Klein b3488abc11
ui: wan federation message dc-dropdown (#13753)
* Only display dc dropdown when more than one dc is available

* Add wan federation message to dc dropdown

* Add test for conditionally displaying dc dropdown

* Move single datacenter indicator into datacenter selector

* Add `DATACENTERS` seperator dc dropdown

* "fix" unnecessary margin-top in dc dropdown
2022-07-18 13:22:17 +01:00
R.B. Boyer bec4df0679
peerstream: require a resource subscription to receive updates of that type (#13767)
This mimics xDS's discovery protocol where you must request a resource
explicitly for the exporting side to send those events to you.

As part of this I aligned the overall ResourceURL with the TypeURL that
gets embedded into the encoded protobuf Any construct. The
CheckServiceNodes is now wrapped in a better named "ExportedService"
struct now.
2022-07-15 15:03:40 -05:00
R.B. Boyer 7da65c02a6
peerstream: fix test assertions (#13780) 2022-07-15 14:43:24 -05:00
Luke Kysow 3968f21339
Add docs for peerStreamServer vs peeringServer. (#13781) 2022-07-15 12:23:05 -07:00
Luke Kysow a8721c33c5
peerstream: dialer should reconnect when stream closes (#13745)
* peerstream: dialer should reconnect when stream closes

If the stream is closed unexpectedly (i.e. when we haven't received
a terminated message), the dialer should attempt to re-establish the
stream.

Previously, the `HandleStream` would return `nil` when the stream
was closed. The caller then assumed the stream was terminated on purpose
and so didn't reconnect when instead it was stopped unexpectedly and
the dialer should have attempted to reconnect.
2022-07-15 11:58:33 -07:00
R.B. Boyer 743cecc559
test: fix flaky test TestAPI_CatalogNodes (#13779) 2022-07-15 13:24:22 -05:00
R.B. Boyer 61ebb38092
server: ensure peer replication can successfully use TLS over external gRPC (#13733)
Ensure that the peer stream replication rpc can successfully be used with TLS activated.

Also:

- If key material is configured for the gRPC port but HTTPS is not
  enabled now TLS will still be activated for the gRPC port.

- peerstream replication stream opened by the establishing-side will now
  ignore grpc.WithBlock so that TLS errors will bubble up instead of
  being awkwardly delayed or suppressed
2022-07-15 13:15:50 -05:00
alex 70ad4804b6
peering: track imported services (#13718) 2022-07-15 10:20:43 -07:00