17857 Commits

Author SHA1 Message Date
Thomas Eckert
b56fb1aa44 Remove the beta warning for the upgrade command 2022-08-09 12:25:43 -04:00
Thomas Eckert
edcca6e1a2
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
0dbb3a634f Clean up copy for the raw example 2022-08-08 17:32:47 -04:00
Thomas Eckert
71027a4ce1
Clean up raw copy
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 17:28:36 -04:00
Thomas Eckert
07b240e79c Combine shell sessions 2022-08-08 17:25:33 -04:00
Thomas Eckert
b641be8466
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
f1f5776575
Add colon
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 17:08:18 -04:00
Thomas Eckert
46c2927ead Remove extra space from commands 2022-08-08 17:03:15 -04:00
Thomas Eckert
e32f16cb45
See -> Refer to the
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:58:43 -04:00
Thomas Eckert
e1e1ead19f
Note -> Tip
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:58:19 -04:00
Thomas Eckert
f9420d13de
to -> on
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-08-08 16:57:31 -04:00
Thomas Eckert
9f72758aab Clarify use of Helm 2022-08-08 16:56:26 -04:00
Thomas Eckert
0c2efbee51
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
72df010472 Make external reference links sentences 2022-08-08 15:33:53 -04:00
Thomas Eckert
d278b56734 Add read command examples 2022-08-08 15:16:55 -04:00
Thomas Eckert
466dce19a9 Change &nbsp; to <nobr> 2022-08-08 14:56:50 -04:00
Thomas Eckert
89f3b2979f Remove "Required" column from options (they are all optional) 2022-08-08 12:57:48 -04:00
Thomas Eckert
418bc1ca04 Update the table of contents with better descriptions 2022-08-08 12:53:41 -04:00
Thomas Eckert
acf4758e12 Add options and examples to proxy read 2022-07-22 13:43:38 -04:00
Thomas Eckert
16c8563049 Add descriptions to the subjects 2022-07-22 12:14:01 -04:00
Thomas Eckert
73e8b3cc0d Add proxy list docs 2022-07-21 17:47:39 -04:00
Thomas Eckert
2ec29f6696 Move uninstall down to be alphabetically sorted 2022-07-20 15:14:14 -04:00
Thomas Eckert
fe123421c6 Clean and clarify intro 2022-07-20 15:09:00 -04:00
Luke Kysow
741c906b0d
Add heartbeat proto to peer stream (#13804) 2022-07-20 11:31:02 -07:00
Michael Klein
cab88bcd1e
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
6be4a0629a
ui: Add Peer Form (#13794) 2022-07-20 12:58:47 +01:00
John Cowen
854b5a93e7
ui: Peer token use form (#13792) 2022-07-20 12:38:39 +01:00
Evan Culver
4116537b83
connect: Add support for Envoy 1.23, remove 1.19 (#13807) 2022-07-19 14:51:04 -07:00
Paul Glass
77afe0e76e
Extract AWS auth implementation out of Consul (#13760) 2022-07-19 16:26:44 -05:00
Chris S. Kim
495936300e
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
de5a991d8c
peering: refactor reconcile, cleanup (#13795)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-19 11:43:29 -07:00
Ranjandas
eb4f479e7e
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
bb943bc77c
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
dc84ea9f85
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
067272b53f
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
e8d965e56f
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
927033e672 Fix panic on acl token read with -self and -expanded 2022-07-18 15:52:05 -07:00
alex
7c0daeade8
fix leader annotation (#13786)
Signed-off-by: acpana <8968914+acpana@users.noreply.github.com>
2022-07-18 10:34:59 -07:00
alex
a9ae2ff4fa
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
d6dcef18c8
ui: Add peer token generation form (#13755)
* ui: Add peer token generation form
2022-07-18 17:39:52 +01:00
John Cowen
56446d540a
ui: Adds Peer initiation form (#13754) 2022-07-18 17:39:22 +01:00
John Cowen
24417d94ed
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
cdf40a6ae6
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
cd513aeead
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
c737301093
peerstream: fix test assertions (#13780) 2022-07-15 14:43:24 -05:00
Luke Kysow
46381b1a7f
Add docs for peerStreamServer vs peeringServer. (#13781) 2022-07-15 12:23:05 -07:00
Luke Kysow
ca3d7c964c
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
0678bf91a7
test: fix flaky test TestAPI_CatalogNodes (#13779) 2022-07-15 13:24:22 -05:00
R.B. Boyer
bb4d4040fb
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
adb5ffa1a6
peering: track imported services (#13718) 2022-07-15 10:20:43 -07:00