Kit Patella
b668592326
rollback golang.org/x/sys version to fix distro-build
2020-11-05 12:09:07 -08:00
Aaron Lane
d3bb81830b
Update loadtest AMI name, description
...
This commit updates the Packer properties `ami_name` and `ami_description` for the loadtest image to reflect the image intent.
2020-11-05 15:05:46 -05:00
Aaron Lane
72cc81d85f
Link to packer directory from terraform ReadMe
2020-11-05 15:00:56 -05:00
Kit Patella
a0f64616f7
apply make update-vendor
2020-11-05 11:51:58 -08:00
Kim Ngo
43f3a42a11
Fix NIA doc links ( #9110 )
...
fix config link and anchor
2020-11-05 13:35:57 -06:00
R.B. Boyer
be9122a8c4
agent: sanitize ui metrics proxy header values on agent/self endpoint ( #9104 )
2020-11-05 13:25:27 -06:00
Daniel Nephin
621f1db766
Merge pull request #9073 from hashicorp/dnephin/backport-streaming-namespaces
...
streaming: backport namespace changes
2020-11-05 14:19:10 -05:00
Daniel Nephin
cd220e5d6c
Merge pull request #9061 from hashicorp/dnephin/event-fields
...
stream: support filtering by namespace
2020-11-05 14:18:35 -05:00
hashicorp-ci
70fb9d94d2
auto-updated agent/uiserver/bindata_assetfs.go from commit 6ff094976
2020-11-05 19:12:03 +00:00
Kenia
068af04aa6
ui: Fix up typo for the UI config template url ( #9109 )
2020-11-05 14:04:40 -05:00
Jimmy Merritello
eda072a280
Bump HSM version ( #9102 )
2020-11-05 11:48:12 -06:00
Joel Watson
1b2680af04
Fallback to alphabetic sorting if size is equal
2020-11-05 11:02:02 -06:00
Joel Watson
4f60020908
Add tests for new snapshot inspect flags
2020-11-05 11:01:44 -06:00
Joel Watson
6ed8d03fee
Update snapshot inspect formatter test
2020-11-05 10:40:02 -06:00
Joel Watson
f93df8ce35
Make key breakdown total size accurate
2020-11-05 10:32:23 -06:00
Joel Watson
4ae01f349a
Update docs with new flags
2020-11-05 10:31:36 -06:00
Kent 'picat' Gruber
2c62e82143
Actually fix spelling of recommendations
...
I obviously have no idea how to spell this word
2020-11-05 11:13:14 -05:00
hashicorp-ci
17d1fa5f42
auto-updated agent/uiserver/bindata_assetfs.go from commit 1ef18c4b6
2020-11-05 16:10:14 +00:00
John Cowen
5875e4b15b
ui: Move mocks into the ui project ( #9084 )
...
* Add consul-api-double under api
* Update config to reflect api change
* Remove consul-api-double as a dependency
* api -> mock-api
* Fixup mocks path for staging
2020-11-05 16:03:49 +00:00
Kent 'picat' Gruber
ef4c2f40d7
Fix spelling of recomendations
...
Thank you @rboyer!
2020-11-04 17:44:51 -05:00
Kent 'picat' Gruber
9f802dffc2
Revamp security model documentation
2020-11-04 17:05:44 -05:00
Kit Patella
233a552bbe
remove definitions for consul.runtime... metrics - they're prepended with hostnames and won't init
2020-11-04 14:02:47 -08:00
Kit Patella
fbe61ad16c
upgrade go-metrics to latest
2020-11-04 14:02:13 -08:00
Joel Watson
dd83f6bc68
Cleanup formatter
2020-11-04 14:36:42 -06:00
Joel Watson
0918d8dbc0
Get JSON formatting working
2020-11-04 14:04:17 -06:00
R.B. Boyer
c2d167d06e
agent: protect the ui metrics proxy endpoint behind ACLs ( #9099 )
...
This ensures the metrics proxy endpoint is ACL protected behind a
wildcard `service:read` and `node:read` set of rules. For Consul
Enterprise these will need to span all namespaces:
```
service_prefix "" { policy = "read" }
node_prefix "" { policy = "read" }
namespace_prefix "" {
service_prefix "" { policy = "read" }
node_prefix "" { policy = "read" }
}
```
This PR contains just the backend changes. The frontend changes to
actually pass the consul token header to the proxy through the JS plugin
will come in another PR.
2020-11-04 12:50:03 -06:00
Joel Watson
fd5b94443e
This ended up not being used.
2020-11-04 10:30:38 -06:00
Joel Watson
ed91bf8a62
Add snapshot inspect filter param
2020-11-04 10:11:20 -06:00
hashicorp-ci
6645dfcbb1
auto-updated agent/uiserver/bindata_assetfs.go from commit 0f6c0a5c1
2020-11-04 09:37:51 +00:00
John Cowen
2cb057ac91
ui: Metrics - Provide a fetch-like http client that automatically adds the current ACL token ( #9094 )
...
* Remove local httpGet and shim one in from options
* Add custom httpGet to pass through to provider
* Make a fetch wrapper that adds your token
* Pass the fetch like fetchWithToken wrapper through to the provider
* Fix up httpGet to encode query params again and use fetch-like
2020-11-04 09:33:37 +00:00
Joel Watson
bc1a55cd09
Initial stab at snapshot inspect key breakdown
2020-11-03 18:00:44 -06:00
hashicorp-ci
ebe0ffce30
auto-updated agent/uiserver/bindata_assetfs.go from commit d5d4155e1
2020-11-03 14:14:58 +00:00
John Cowen
17333e90ce
ui: Storybook Install ( #9049 )
...
* ui: Install storybook into the main project
* Add a basic story for a notice
* Remove empty dependencies
2020-11-03 14:09:39 +00:00
Sean Ellefson
7180f9e114
Correcting text on when default was changed in Consul
2020-11-02 15:10:34 -08:00
Kit Patella
7f362b2d09
add definitions for key metrics. This will not build until we have the definitions patch to go-metrics
2020-11-02 15:01:00 -08:00
R.B. Boyer
5c6d322872
use the docker proxy for more envoy integration test containers ( #9085 )
2020-11-02 14:52:33 -06:00
R.B. Boyer
b8a623d3d2
wait_for_namespace should take two args ( #9086 )
2020-11-02 14:31:19 -06:00
hashicorp-ci
0d8a30d8e3
auto-updated agent/uiserver/bindata_assetfs.go from commit 56c2ff56e
2020-11-02 18:43:31 +00:00
Kenia
10aa848005
ui: Update to not return metrics for ingress gateways ( #9081 )
2020-11-02 13:38:43 -05:00
Alvin Huang
102aefdb49
use hashicorp docker mirror in envoy helper ( #9080 )
2020-11-02 11:37:03 -06:00
R.B. Boyer
cf5e9872ce
fix envoy integ test wait_for_namespace to actually work on CI ( #9082 )
2020-11-02 11:14:48 -06:00
hashicorp-ci
0fa484ae8f
auto-updated agent/uiserver/bindata_assetfs.go from commit bf32a1799
2020-11-02 16:11:45 +00:00
John Cowen
bc4d1f9b65
ui: Remove string casting when passing index/checked for dropmenus ( #9077 )
...
* ui: Remove string casting when passing index/checked
* Check for e.target
2020-11-02 16:07:08 +00:00
hashicorp-ci
052303f0fa
auto-updated agent/uiserver/bindata_assetfs.go from commit 314eeda95
2020-11-02 14:40:27 +00:00
John Cowen
a4f6313aa5
ui: Use eslint vs ember-cli-lint, sass vs dart-sass ( #9078 )
...
These two dependency changes means that @hashicorp/pds-ember can be
installed and used without any build/dependency issues
2020-11-02 14:35:10 +00:00
Alvin Huang
d6652b0bc9
use hashicorp docker mirror to prevent rate limit ( #9070 )
2020-10-30 17:59:13 -04:00
R.B. Boyer
c8c87ec317
agent: introduce path allow list for requests going through the metrics proxy ( #9059 )
...
Added a new option `ui_config.metrics_proxy.path_allowlist`. This defaults to `["/api/v1/query", "/api/v1/query_range"]` when the metrics provider is set to `prometheus`.
Requests that do not use one of the allow-listed paths (via exact match) get a 403 Forbidden response instead.
2020-10-30 16:49:54 -05:00
Daniel Nephin
8a017c4f43
structs: add a namespace test for CheckServiceNode.CanRead
2020-10-30 15:07:04 -04:00
Daniel Nephin
78260952b0
cache-type: use namespace in tests
...
to verify that the namespace is passed through correctly to the server.
2020-10-30 15:07:04 -04:00
Daniel Nephin
f6b629852f
state: test EventPayloadCheckServiceNode.FilterByKey
...
Also fix a bug in that function when only one of key or namespace were the empty string.
2020-10-30 14:35:57 -04:00