John Cowen
62ae1d5f5a
ui: Add copyable IDs to the Role and Policy views
2020-11-30 14:42:57 +00:00
Daniel Nephin
9f0f2bd589
Merge pull request #9284 from hashicorp/dnephin/agent-service-register
...
local: mark service as InSync when added to local agent state
2020-11-27 15:49:55 -05:00
Daniel Nephin
33b81067f8
local: mark service and checks as InSync when added
...
If the existing service and checks are the same as the new registration.
2020-11-27 15:31:12 -05:00
Hans Hasselberg
44674bcdf8
fix serf_wan documentation ( #9289 )
...
WAN config is different than LAN config, source of truth is
f72d2042a8/config.go (L315-L326)
and now the docs are correct.
2020-11-27 20:49:43 +01:00
hashicorp-ci
a1644351bc
auto-updated agent/uiserver/bindata_assetfs.go from commit 408174f3b
2020-11-27 15:45:17 +00:00
John Cowen
408174f3bc
ui: Change metrics link documentation link ( #9281 )
...
* ui: Change metrics link documentation link
* Update ui/packages/consul-ui/app/components/topology-metrics/index.hbs
Co-authored-by: Blake Covarrubias <blake@covarrubi.as>
2020-11-27 15:41:13 +00:00
David Yu
6e0f51cd5f
Bump supported chart to 0.27.0 for Consul 1.9 ( #9279 )
...
* Bump supported chart to 0.27.0 for Consul 1.9
2020-11-25 16:33:21 -08:00
Daniel Nephin
08b8a9276d
Merge pull request #9247 from pierresouchay/streaming_predictible_order_for_health
...
[Streaming] Predictable order for results of /health/service/:serviceName to mimic memdb
2020-11-25 15:53:18 -05:00
Pierre Souchay
76d95fd388
Applied suggestions from @dnephin
...
* Renamed `cachedHealResultSorter` into `sortCheckServiceNodes`
* Use `<` instead of `strings.Compare`
* Single line comparison in unit test
2020-11-25 21:40:51 +01:00
Mike Morris
ab927d5480
Merge pull request #9270 from hashicorp/release/1.9.0
...
merge: release/1.9.0 back into 1.9.x
2020-11-24 17:36:47 -05:00
David Yu
347d759343
Consul 1.9 GA Banner ( #9272 )
2020-11-24 13:40:14 -08:00
Mike Morris
00005b501a
Update CHANGELOG.md
2020-11-24 14:55:20 -05:00
David Yu
fc4e115380
docs: adding Consul 1.9.x to compat matrix and link to Envoy compat matrix ( #9263 )
...
* Adding Consul 1.9.x to compat matrix and link to Envoy compat matrix
Adding 1.9.x and link to Envoy compat matrix
2020-11-24 10:49:53 -08:00
R.B. Boyer
d2d1b05a4e
server: fix panic when deleting a non existent intention ( #9254 )
...
* server: fix panic when deleting a non existent intention
* add changelog
* Always return an error when deleting non-existent ixn
Co-authored-by: freddygv <gh@freddygv.xyz>
2020-11-24 13:44:20 -05:00
hashicorp-ci
9ccf12289a
auto-updated agent/uiserver/bindata_assetfs.go from commit 6f8b5acbe
2020-11-24 17:51:46 +00:00
John Cowen
6f8b5acbe0
ui: Ensure the per item logout button logs you out ( #9269 )
2020-11-24 17:47:53 +00:00
hashicorp-ci
3f9d15959c
auto-updated agent/uiserver/bindata_assetfs.go from commit 9c3c7bcf3
2020-11-24 14:38:24 +00:00
John Cowen
9c3c7bcf3b
ui: Include nspace in up/downstream link when nspaces are enabled ( #9257 )
2020-11-24 14:33:34 +00:00
Daniel Nephin
341552198e
docs: deprecate some old filter parameters
...
The filtering can be done with the general purpose `filter` query parameter.
2020-11-23 18:23:58 -05:00
Kit Patella
0ba7f4ce39
Merge pull request #9261 from hashicorp/telemetry/fix-missing-and-stale-docs-2
...
Telemetry/fix missing and stale docs
2020-11-23 13:34:19 -08:00
Daniel Nephin
a5bfd233f2
Merge pull request #9259 from hashicorp/dnephin/doc-streaming-experimental
...
docs: mark streaming as experimental
2020-11-23 16:13:40 -05:00
Hans Hasselberg
57701695c3
add missing descriptions for metrics
2020-11-23 22:06:30 +01:00
Daniel Nephin
6751d51aa3
docs: mark streaming as experimental
2020-11-23 15:59:47 -05:00
Kit Patella
fcec25de40
add entries for missing fsm operations and mark duplicated metrics prefixes as deprecated
2020-11-23 12:42:51 -08:00
Daniel Nephin
5e69cab5c8
Merge pull request #9012 from hashicorp/dnephin/log-fix-rotation
...
logging: prune logs on startup
2020-11-23 14:57:06 -05:00
Daniel Nephin
752e3ec0b1
logging: improve tests
...
Standardize naming
Use stricter assertions and reduce boilerplate to make the intent of the tests more obvious.
Also explicitly sort the filenames so that the correct files are pruned,
and so that the tests can not flake.
2020-11-23 14:41:54 -05:00
Sabeen Syed
cfbefc45f0
Update NIA architecture image ( #9180 )
2020-11-23 01:47:58 -06:00
Daniel Nephin
a1e4b69527
config: remove unused const
2020-11-20 19:17:12 -05:00
Daniel Nephin
2dcc6966fe
logging: call pruneFiles on startup
...
To ensure that files are pruned before a new one is created.
Also clean up the logic in pruneFiles
2020-11-20 19:07:45 -05:00
Daniel Nephin
b847c035d0
logging: remove unnecessary package vars
2020-11-20 19:07:45 -05:00
Kyle Havlovitz
13c31ccfce
Clean up the logic in persistNewRootAndConfig
2020-11-20 15:54:44 -08:00
Daniel Nephin
78f767e78c
config: move testing shims to BuilderOpts
...
And remove the devMode field from builder.
This change helps make the Builder state more explicit by moving inputs to the BuilderOps struct,
leaving only fields that can change during Builder.Build on the Builder struct.
2020-11-20 18:31:10 -05:00
Daniel Nephin
0a44906fe3
config: Use LiteralSource for some defaults
...
Using the LiteralSource makes it much easier to find default values, because an IDE reports
the location of a default. With an HCL string they are harder to discover.
Also removes unnecessary mapstructure.Decodes of constant values.
2020-11-20 18:14:17 -05:00
Kit Patella
c6b29a8bba
Merge pull request #9245 from hashicorp/telemetry/fix-missing-and-stale-docs
...
Telemetry/fix missing and stale docs
2020-11-20 12:54:29 -08:00
Pierre Souchay
fb91190ee2
Added changelog entry for 9247
2020-11-20 18:23:01 +01:00
Pierre Souchay
45151090c1
[Streaming] Predictable order for results of /health/service/:serviceName to mimic memdb
...
This ensures the result is consitent with/witout streaming
Will partially fix #9239
2020-11-20 16:23:35 +01:00
Michael Montgomery
585c84e9ff
Merge branch 'master' into 6074-allow-config-MaxHeaderBytes
2020-11-20 07:43:53 -06:00
Kyle Havlovitz
0bfda4481f
Add CA server delegate interface for testing
2020-11-19 20:08:06 -08:00
Freddy
b564eb4e81
Merge pull request #9246 from hashicorp/changelog-186
2020-11-19 17:40:20 -07:00
freddygv
b4ab1e11b9
Update latest version
2020-11-19 16:45:54 -07:00
freddygv
8a3be19962
Add latest changelog entries
2020-11-19 16:43:11 -07:00
Mike Morris
76d1a9e8ea
changelog: add 1.9.0-rc1 ( #9231 )
2020-11-19 17:58:30 -05:00
Kit Patella
5c09dc322e
add telemetry and definition help entries for missing catalog and acl metrics
2020-11-19 13:29:44 -08:00
R.B. Boyer
7c7a3e5165
command: when generating envoy bootstrap configs use the datacenter returned from the agent services endpoint ( #9229 )
...
Fixes #9215
2020-11-19 15:27:31 -06:00
Kit Patella
9e54e897d7
remove stale entries and rename/define acl.resolveToken
2020-11-19 13:06:28 -08:00
hashicorp-ci
8368f65006
auto-updated agent/uiserver/bindata_assetfs.go from commit d913af2bb
2020-11-19 18:45:01 +00:00
Kenia
d913af2bb1
ui: Card component nspace refactor ( #9228 )
...
* Refactoring conditional for showing nspaces
* Styling empty state for Stats component
2020-11-19 13:40:05 -05:00
Freddy
fd5928fa4e
Require operator:write to get Connect CA config ( #9240 )
...
A vulnerability was identified in Consul and Consul Enterprise (“Consul”) such that operators with `operator:read` ACL permissions are able to read the Consul Connect CA configuration when explicitly configured with the `/v1/connect/ca/configuration` endpoint, including the private key. This allows the user to effectively privilege escalate by enabling the ability to mint certificates for any Consul Connect services. This would potentially allow them to masquerade (receive/send traffic) as any service in the mesh.
--
This PR increases the permissions required to read the Connect CA's private key when it was configured via the `/connect/ca/configuration` endpoint. They are now `operator:write`.
2020-11-19 10:14:48 -07:00
hashicorp-ci
effe235562
auto-updated agent/uiserver/bindata_assetfs.go from commit 687ce1f9c
2020-11-19 16:13:04 +00:00
John Cowen
687ce1f9c5
ui: Alter background color of filter bars ( #9238 )
2020-11-19 16:07:58 +00:00