Commit Graph

12678 Commits

Author SHA1 Message Date
Blake Covarrubias 86e7274a70
docs: Add -node-identity option to token and role command (#8671)
Document `-node-identity` option which was added in #7970 for
`acl token <create|update>` and `acl role <create|update>` commands.
2020-09-14 19:02:43 -07:00
Daniel Nephin 636f76f6f1 agent/grpc: make TestHandler_EmitsStats predictable
Occasionally this test would flake. The flakes were fixed by:

1. Stopping the service and retrying to check on metrics. This way we
   also include the active_streams going to 0 in the metric calls.

2. Using a reference to the global Metrics. This way when other tests
   have background goroutines that are still shutting down, they won't
   emit metrics to the metric instance with the fake Sink. The stats
   test can patch the local reference to the global, so the existing
   statHandlers will continue to emit to the global, but the stats
   test will send all metrics to the replacement.
2020-09-14 19:05:22 -04:00
Daniel Nephin 0c87cf468c Update go-metrics dependencies, to use metrics.Default() 2020-09-14 19:05:22 -04:00
Daniel Nephin ee65ee541e grpc: add Datacenter field to testing service response 2020-09-14 19:02:09 -04:00
freddygv 856d5a25ee Fix text type assertion 2020-09-14 16:28:40 -06:00
freddygv 7fd518ff1d Merge master 2020-09-14 16:17:43 -06:00
freddygv 87541ab80a Fix type assertion 2020-09-14 16:12:21 -06:00
Freddy a24a60ec75
Create 8585.txt 2020-09-14 14:16:47 -06:00
Daniel Nephin 20aea3dbc9
Merge pull request #8587 from hashicorp/streaming/add-grpc-server
streaming: add gRPC server for handling connections
2020-09-14 15:24:54 -04:00
Freddy aaf413a421
Support specifying load balancer configuration for destination services
Load balancing policies are configured in service-resolvers. All Envoy load balancing algorithms are currently supported. Including: least_request, round_robin, random, maglev, and ring_hash.

At the moment hash-based load balancing configuration is not applied at mesh gateways since they cannot decrypt traffic to inspect HTTP attributes like headers.
2020-09-14 12:02:26 -06:00
Derek Strickland 9e9d5b78eb
Fixed broken install links (#8674) 2020-09-14 13:37:35 -04:00
David Yu ce1c03d30c
Create compatability.mdx for Consul Kubernetes docs (#8655)
Create Compatibility Matrix page for Consul and Consul on Kubernetes underneath Upgrade section in the Kubernetes docs.
2020-09-14 10:24:39 -07:00
freddygv 7b9d1b41d5 Resolve conflicts against master 2020-09-11 18:41:58 -06:00
freddygv 768dbaa68d Add session flag to cookie config 2020-09-11 18:34:03 -06:00
Derek Strickland 248c933e6b
Added docs link to Learn tutorial for Kind. (#8610) 2020-09-11 17:03:35 -04:00
Jasmine W 6be04a2478
Merge pull request #8666 from hashicorp/update-docs-redirect
Update _redirects
2020-09-11 15:41:59 -05:00
kaitlincarter-hc 11447952cf
Website Links to Learn (#8641)
* update links

* Update website/pages/home/index.jsx
2020-09-11 15:33:15 -05:00
Jasmine W f7c74ef3d7 Update _redirects
- updating old acl redirects
- removed duplicate ones I added previously toward the bottom
2020-09-11 14:39:49 -05:00
Mike Morris 9351b4289f changelog: add 1.8.4, 1.7.8 and 1.6.9 [skip ci] 2020-09-11 14:53:05 -04:00
freddygv 31fb1b75b5 Update website docs 2020-09-11 10:50:57 -06:00
freddygv 9d2a9169fd PR comments 2020-09-11 10:49:26 -06:00
Derek Strickland 3430da1d22
Fixed broken link to Helm Chart install page. (#8662) 2020-09-11 12:48:41 -04:00
Kyle Havlovitz 49056fe70f Clean up Vault renew tests and shutdown 2020-09-11 08:41:05 -07:00
freddygv eab90ea9fa Revert EnvoyConfig nesting 2020-09-11 09:21:43 -06:00
Mike Morris 13017e0af9 vendor: bump consul/api to v1.7.0 2020-09-10 21:40:41 -04:00
Daniel Nephin f51276e74a
Merge pull request #8647 from paulburlumi/dev/testutil_testing_interface
testutil: use TestingTB instead of testing.TB
2020-09-10 17:11:58 -04:00
Paul Burlumi bb2b5dd871 testutil: use TestingTB instead of testing.TB 2020-09-10 21:37:02 +01:00
Hans Hasselberg 5f5aa801db
add entry for 8588 (#8650) 2020-09-10 18:53:36 +02:00
Kyle Havlovitz f40fb577fe Use mapstructure for decoding vault data 2020-09-10 06:31:04 -07:00
Kyle Havlovitz aa97366020 Add a stop function to make sure the renewer is shut down on leader change 2020-09-10 06:12:48 -07:00
Kyle Havlovitz 2f7210bde2 Move IntermediateCertTTL to common CA config 2020-09-10 00:23:22 -07:00
Kyle Havlovitz 411b6537ef Add a test for token renewal 2020-09-09 16:36:37 -07:00
Joel Watson 72e64e9f6f
Merge pull request #8544 from hashicorp/watsonian/consul-acl-translate-rules-typo
Fix usage typo for `consul acl translate-rules`
2020-09-09 15:33:30 -05:00
Jasmine W c5170ae3b7
Merge pull request #8642 from hashicorp/update-docs-integration
added Integration category
2020-09-09 14:51:13 -05:00
Joel Watson 0d27ead716 s/translate rules/translate-rules/
Just fixes a typo in the command's usage info.
2020-09-09 14:16:29 -05:00
Jasmine W 801d03480c added Integration category
- added "Integration" category
- added redirects
2020-09-09 13:55:36 -05:00
Luke Kysow e51aea353c
Merge pull request #8639 from hashicorp/k8s-docs-refactor
Move around k8s docs
2020-09-09 11:33:54 -07:00
John Cowen c8dfe43d29
ui: Default test latency to 0 (#8640)
During development a HTTP request will pause for 1 minute ONLY when an
?index is set. This gives a realistic emulation of blocking queries.

During testing we can change this latency when we are testing blocking
queries, which we do in numerous places.

A problem can arise during testing on a very slow machine.

If you are not testing blocking queries and therefore not set a latency
to test with, if the machine you are testing on is slow enough a normal
page can assert during a test, yet not tear down before a further
blocking query request is made. This blocking query then uses the default
latency which cause the page to hang for 1 minute, which in turn causes
the test to timeout.

This only seems to happen on a very slow system, but it does potentially
explain why we occasionally see the odd flakey test popping up.
2020-09-09 18:51:18 +01:00
Luke Kysow b55f3ed43c
Move around k8s docs
* k8s > ambassador integration moved to k8s > service mesh > ambassador integration
* k8s > get started > overview moved to k8s > get started > install with
helm chart
* k8s > helm chart reference renamed to helm chart configuration
2020-09-09 09:59:51 -07:00
Jasmine W 7ad2113a1d
Update index.mdx (#8632)
renamed page to remain consistent
2020-09-09 11:07:20 -04:00
John Cowen b41efab496
ui: Move %definition-table to use CSS grid (#8629) 2020-09-09 09:12:56 +01:00
John Cowen d818e892fa
ui: Reinstate listing of available test steps via CLI (#8614)
* Unignore any bin files underneath the UI folder

* Add previously ignored node exec script

* Rearrange steps file so we can continue to list steps out
2020-09-09 09:12:42 +01:00
John Cowen 5cc1fefa95
ui: [Bugfix] KV creation from within a 'folder' (#8613)
* ui: Prefill an newly created KV for the when we are on a create route

* ui: Add some KV creation tests
2020-09-09 09:12:09 +01:00
Danny Eck 817ae42a7b docs: clarify KV url-safe key names 2020-09-08 23:04:32 -05:00
Blake Covarrubias d21740a308 docs: Fix rendering of link under service config endpoint
HTML and markdown cannot be present in the same line. Change markdown
link to HTML anchor element.
2020-09-08 17:41:10 -07:00
Luke Kysow 0cd2a22823
Merge pull request #8631 from hashicorp/update-docs
Update useSystemRoots docs for k8s
2020-09-08 13:21:49 -07:00
Luke Kysow 8595fef2be
Move helm reference out 2020-09-08 12:05:55 -07:00
Luke Kysow 71237fef4f
Update useSystemRoots docs for k8s 2020-09-08 11:11:48 -07:00
Daniel Nephin fd42804063 grpc: Add a simple test service for testing the gRPC server 2020-09-08 12:10:43 -04:00
Daniel Nephin 2257247095 server: add gRPC server for streaming events
Includes a stats handler and stream interceptor for grpc metrics.

Co-authored-by: Paul Banks <banks@banksco.de>
2020-09-08 12:10:41 -04:00