14289 Commits

Author SHA1 Message Date
John Cowen
7731aab820 ui: Minor CSS tweaks (#10295) 2021-05-26 13:39:48 +00:00
Jono Sosulska
5057eb3efe Update Kubernetes docs to point to install pages. (#10293)
Adds more clear indicators that the collections on the learn.hashicorp.com sites have specific instructions for single node deployments.
Co-Authored by: soonoo <qpseh2m7@gmail.com>
2021-05-25 19:37:00 +00:00
mrspanishviking
c110d487af Merge pull request #10290 from hashicorp/docs-rename-enterprise
docs: rename enterprise to Consul enterprise
2021-05-25 15:23:10 +00:00
Rémi Lapeyre
4677321753 Always set the Content-Type header when a body is present (#10204)
* Always set the Content-Type header when a body is present

Closes https://github.com/hashicorp/consul/issues/10011

* Add Changelog entry

* Add more Content-Type exceptions

* Fix tests
2021-05-25 16:15:57 +01:00
Matt Keeler
f054099e84 Move some things around to allow for license updating via config reload
The bulk of this commit is moving the LeaderRoutineManager from the agent/consul package into its own package: lib/gort. It also got a renaming and its Start method now requires a context. Requiring that context required updating a whole bunch of other places in the code.
2021-05-25 13:58:35 +00:00
Jono Sosulska
3f33ac36c5 Updating Consul Glossary with more industry standard terms (#10074)
* Update glossary.mdx

1. Update header to the first section to "Consul Vocabulary" since these are the terms used in the context of Consul conversations.
2. Kept the header "Consul Glossary" since these are the terms useful for practitioners in the consul space.
3. Removed interlinking to terms on the same page.

Co-authored-by: Hans Hasselberg <me@hans.io>
Co-authored-by: Swarna Podila <swarnap@users.noreply.github.com>
2021-05-24 19:44:42 +00:00
Matt Keeler
c87ed75400 hcs-1936: Prepare for adding license auto-retrieval to auto-config in enterprise 2021-05-24 17:21:08 +00:00
Matt Keeler
c6377111f5 Preparation for changing where license management is done. 2021-05-24 14:22:27 +00:00
John Cowen
f6605b2770 ui: Add docs for AppView (#10265)
* ui: change coloring of secondary navigation elements

* Remove top border, this was probably from older designs/iterations

* ui: Move app-view styles into components also...

1. Remove dead %app-view-content-error
2. Remove TabNav border overwriting

* Bring into line with our 'project standard' class/attributes pattern

* Add docs for AppView
2021-05-24 11:33:04 +00:00
John Cowen
be13c4ff42 ui: change coloring of secondary navigation elements (#10259) 2021-05-24 10:52:04 +00:00
allisaurus
f1c504cd67 docs: fix Amazon EKS service name (#10280) 2021-05-21 22:59:10 +00:00
Daniel Nephin
4a6b53fa22 Merge pull request #10272 from hashicorp/dnephin/backport-namespace-license-fix
Backport some ent changes for serf tags
2021-05-21 16:35:30 +00:00
Matt Keeler
b6dc2e9d79 Deprecate API driven licensing.
The two methods in the API client to Put or Reset a license will now always return an error.
2021-05-21 15:11:58 +00:00
Sabeen Syed
165fe57a84 Docs: Add link for new Cisco TF module (#10268) 2021-05-21 13:53:34 +00:00
Matt Keeler
d80ae8baa8 Add OSS bits for supporting specifying the enterprise license via config 2021-05-20 20:12:05 +00:00
Daniel Nephin
be3a7cf745 Merge pull request #9309 from hashicorp/docs/example-snapshot-agent-policy
docs: Add example ACL policy for snapshot agent
2021-05-20 18:45:32 +00:00
Paul Banks
51c9d1e6c3 Fix doc note since we switched authorization mechanism in 1.9 (#10266) 2021-05-20 15:29:51 +00:00
Dhia Ayachi
9c6a9f4add docs: update register check docs (closes #6635) (#10261)
Update register check documentation clarify that Id returns as CheckId in the response

Co-Authored-By: Shaker Islam <shaqq@users.noreply.github.com>

Co-authored-by: Shaker Islam <shaqq@users.noreply.github.com>
2021-05-20 00:28:52 +00:00
Daniel Nephin
510d81ac4d Merge pull request #10253 from hashicorp/dnephin/fix-test-flake
redirecttraffic: fix a flaky test
2021-05-19 15:01:53 +00:00
John Cowen
f69c4a2501 ui: Miscellaneous Lock Session fixes (#10225) 2021-05-19 10:08:18 +00:00
Kendall Strautman
8d26a3f844 chore: 'overview' nav item links to home page (#10255) 2021-05-18 19:49:23 +00:00
Daniel Nephin
accc5db292 Merge pull request #8812 from jjshanks/GH-8728
GH-8728 add raft default values
2021-05-18 19:33:09 +00:00
John Cowen
eb396b0409 ui: Bump node to v14 (#10238) 2021-05-18 15:35:54 +00:00
Brandon Romano
dd6e03dae9 Merge pull request #10251 from hashicorp/br.hc-banner
Updates AlertBanner for HashiConf EU
2021-05-17 22:23:48 +00:00
John Cowen
981b8af307 ui: Use babel plugin to strip calls to runInDebug (#10237) 2021-05-17 12:28:42 +00:00
R.B. Boyer
4025a6349a xds: emit a labeled gauge of connected xDS streams by version (#10243)
Fixes #10099
2021-05-14 19:00:15 +00:00
R.B. Boyer
e83dc4375d server: ensure that central service config flattening properly resets the state each time (#10239)
The prior solution to call reply.Reset() aged poorly since newer fields
were added to the reply, but not added to Reset() leading serial
blocking query loops on the server to blend replies.

This could manifest as a service-defaults protocol change from
default=>http not reverting back to default after the config entry
reponsible was deleted.
2021-05-14 15:22:16 +00:00
R.B. Boyer
54f5b96a5b agent: ensure we hash the non-deprecated upstream fields on ServiceConfigRequest (#10240) 2021-05-14 15:16:27 +00:00
Freddy
0ff9a5de8a Add changelog entry for network area timeout updates (#10241) 2021-05-13 21:06:11 +00:00
Luke Kysow
832560b610 Update k8s fed docs to clarify role of acl token (#10233) 2021-05-13 17:22:27 +00:00
John Cowen
1fe17b720a ui: Serf Health Check warning notice (#10194)
When the Consul serf health check is failing, this means that the health checks registered with the agent may no longer be correct. Therefore we show a notice to the user when we detect that the serf health check is failing both for the health check listing for nodes and for service instances.

There were a few little things we fixed up whilst we were here:

- We use our @replace decorator to replace an empty Type with serf in the model.
- We noticed that ServiceTags can be null, so we replace that with an empty array.
- We added docs for both our Notice component and the Consul::HealthCheck::List component. Notice now defaults to @type=info.
2021-05-13 10:37:46 +00:00
Christopher Poenaru
cd2e4b0699 correct website documentation typo 2021-05-13 06:31:01 +00:00
Iryna Shustava
47d8f050d2 Save exposed ports in agent's store and expose them via API (#10173)
* Save exposed HTTP or GRPC ports to the agent's store
* Add those the health checks API so we can retrieve them from the API
* Change redirect-traffic command to also exclude those ports from inbound traffic redirection when expose.checks is set to true.
2021-05-12 20:56:15 +00:00
Daniel Nephin
50b66ebb63 Merge pull request #10217 from hashicorp/dnephin/test-flakes
testing: attempt to fix some test flakes
2021-05-12 19:39:07 +00:00
R.B. Boyer
88a8656e13 connect: update supported envoy versions to 1.18.3, 1.17.3, 1.16.4, and 1.15.5 (#10231) 2021-05-12 19:06:43 +00:00
Brandon Romano
c5e65aa953 Merge pull request #10226 from hashicorp/pcmccarron-patch-1
Update network-infrastructure-automation.jsx
2021-05-11 19:50:21 +00:00
Kyle MacDonald
04732063d6 website: add /form redirect (#10227) 2021-05-11 18:28:47 +00:00
Kenia
062590180f ui: Add conditionals to Lock Session list items (#10121)
* Add conditionals to Lock Session list items

* Add changelog

* Show ID in details if there is a name to go in title

* Add copy-button if ID is in the title

* Update TTL conditional

* Update .changelog/10121.txt

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2021-05-11 15:40:46 +00:00
Daniel Nephin
d40c68e9ac Merge pull request #10219 from hashicorp/dnephin/connect-docs
docs: update notice on connect built-in proxy and native app integration
2021-05-10 21:01:47 +00:00
Daniel Nephin
ac0697ac48 Merge pull request #10188 from hashicorp/dnephin/dont-persist-agent-tokens
agent/local: do not persist the agent or user token
2021-05-10 19:58:59 +00:00
Joel Watson
763118c1ea Merge pull request #10214 from hashicorp/watsonian/raft-protocol-upgrade-note
Flesh out Raft Protocol Support note
2021-05-10 18:21:23 +00:00
John Cowen
b93df0e22d ui: Fix nspace spacing issue (#10157)
This fixes the spacing bug in nspaces only by only showing Description if the namespace has one, and removing the extra 2 pixel margin of dds for when dts aren't rendered/don't exist.
2021-05-10 10:20:09 +00:00
Mike Morris
d6be1661c2 website: bump beta callout on downloads page to 1.10.0-beta2 (#10202) 2021-05-07 19:04:30 +00:00
Mike Morris
5b8fba77ec
Merge pull request #10201 from hashicorp/website/1.10.0-beta2
website: sync recent commits and 1.10.0-beta2
2021-05-07 15:03:15 -04:00
Brandon Romano
e48005a9a2 Merge pull request #10203 from hashicorp/br.hashistack-tweak
Adjust order, remove titles, on HashiStack section
2021-05-07 14:29:50 -04:00
John Cowen
8522c83283 ui: Adds ability to show a 'partial' list in list-collections (#10174)
* ui: Add support for showing partial lists in ListCollection

* Add CSS for partial 'View more' button, and move all CSS to /components

* Enable partial view for intention permissions
2021-05-07 15:55:33 +00:00
John Cowen
4c983cfd3e ui: Remove top border from Consul::AuthMethod::List (#10195) 2021-05-07 15:54:38 +00:00
John Cowen
f61866fda6 ui: Loader amends/improvements (#10181)
* ui: Loader amends/improvements

1. Create a JS compatible template only 'glimmer' component so we can
use it with or without glimmer.
2. Add a set of `rose` colors.
3. Animate the brand loader to keep it centered when the side
navigation appears.
4. Tweak the color of Consul::Loader to use a 'rose' color.
5. Move everything loader related to the `app/components/` folder and
add docs.
2021-05-07 11:24:01 +00:00
John Cowen
16eb3263a3 ui: [BUGFIX] De-duplicate Tag rendering (#10186)
* Add some tests for duplicated and non-duplicated tags

* Ensure tags get de-duped and add docs

* Update docs to include info on the recursive-ness
2021-05-07 11:08:14 +00:00
Kim Ngo
7ae113656e docs/nia: simplify api and cli url paths (#10199) 2021-05-06 21:27:06 +00:00