Commit Graph

15704 Commits

Author SHA1 Message Date
trujillo-adam e515657de2 initial commit adding admin partitions section to docs - several more changes to come 2021-10-14 16:14:05 -07:00
R.B. Boyer 55dd52cb17
acl: small OSS refactors to help ensure that auth methods with namespace rules work with partitions (#11323) 2021-10-14 15:38:05 -05:00
Kim Ngo 07425b149c
Minor followup to nia 0.4.0 docs (#11306)
* Minor updates to source-input docs
Co-authored-by: lornasong <lornasong@users.noreply.github.com>
2021-10-14 12:48:34 -05:00
Freddy 5f762515a1
Merge pull request #11314 from hashicorp/ap/auto-encrypt 2021-10-14 09:12:34 -06:00
freddygv f76fddb28e Use stored entmeta to fill authzContext 2021-10-14 08:57:40 -06:00
freddygv bdf3e951f8 Ensure partition is handled by auto-encrypt 2021-10-14 08:32:45 -06:00
John Cowen bfd1d7e2a3
ci: Only install UI dependencies for CI frontend-cache (#11313) 2021-10-14 15:14:26 +01:00
John Cowen ae57fe6e1d
ui: Move the Role remove dialog to use InformedAction (#11298) 2021-10-14 13:54:27 +01:00
Noel Quiles 88bd33cc6b
website: Add Fathom analytics (#11243)
* Impl Fathom analytics

* Use analytics package instead of direct impl

* Remove explicit fathom-client dep
2021-10-14 00:33:38 -04:00
bear359 f8d2f03208
Update partnerships.mdx (#11304)
* Update partnerships.mdx
* Temporarily removing badge until we can resize it

Co-authored-by: findkim <6362111+findkim@users.noreply.github.com>
2021-10-13 17:43:40 -05:00
trujillo-adam 49d10e7742 admin partition docs part 1 - cli 2021-10-13 15:37:01 -07:00
bear359 4bc261a41e
Add files via upload (#11303) 2021-10-13 17:12:59 -05:00
Melissa Kam c4a17e3119
Merge pull request #11294 from hashicorp/nia/docs-0.4.0
nia/docs 0.4.0
2021-10-13 14:01:28 -05:00
Blake Covarrubias 49545dbab6 docs: Redirect /docs/commands/acl/role to new URL 2021-10-13 10:29:33 -07:00
FFMMM bb228ab165
fix: only add prom autopilot gauges to servers (#11241)
Signed-off-by: FFMMM <FFMMM@users.noreply.github.com>
2021-10-13 09:25:30 -07:00
Lorna Song 92b3af272d Remove extra '\' 2021-10-13 11:31:11 -04:00
lornasong cc6e7779b3
docs/nia: scheduled tasks (#11283)
* docs/nia: scheduled tasks

Add basic scheduled task documentation

* Add source input documentation

Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>

* Fix some links

* Update Optional Input Variables section

* Apply suggestions from code review

Co-authored-by: Melissa Kam <3768460+mkam@users.noreply.github.com>

* Add source input documentation

Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>

* updated docs with new "source input" terminology where necessary

* Apply suggestions from code review

applied Karl's recommendations

Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>

* addressed code review comments
- added rendered input examples to terraform-modules.mdx
- added hyperlinks to terraform-modules.mdx in configuration.mdx
- re-worded initial description of Services Source Input in terraform-modules.mdx

* addressed code review comments
- fixed spacing of regexp parameter for services source input
- reworded description of source input in terraform-modules.mdx

* Update from feedback

 - Add "currently" to clarify source input is currently only supported with schedule condition
 - Reword inspect mode behavaior for scheduled tasks

Co-authored-by: Michael Wilkerson <62034708+wilkermichael@users.noreply.github.com>
Co-authored-by: Melissa Kam <3768460+mkam@users.noreply.github.com>
Co-authored-by: Michael Wilkerson <mwilkerson@hashicorp.com>
Co-authored-by: mrspanishviking <kcardenas@hashicorp.com>
2021-10-13 10:58:12 -04:00
Chris S. Kim 0a6d683c84
Update Intentions.List with partitions (#11299) 2021-10-13 10:47:12 -04:00
R.B. Boyer 3e8ece97a8
acl: fix bug in 'consul members' filtering with partitions (#11263) 2021-10-13 09:18:16 -05:00
John Cowen 1d6b1d0c87
ui: Fixup route blueprint to reflect project conventions (#11153) 2021-10-13 14:58:04 +01:00
Melissa Kam 87b4be4a35
Merge pull request #11218 from hashicorp/cts-tfc-tiers
docs/nia: Clarify that all TFC tiers are supported
2021-10-12 16:39:49 -05:00
R.B. Boyer c7afdde25d
update changelog (#11262) 2021-10-12 16:31:56 -05:00
Bisakh Mondal 929ad1e80f
add service resolver subset filter validation 2021-10-13 02:56:04 +05:30
Kenia 08138a86fb
ui: Topology - Fix up Default Allow and Permissive Intentions notices (#11216)
* ui: Default allow notices test (#11240)
2021-10-12 09:27:06 -04:00
Anirudh H M 59e893332c Update docs: Mention grafana dashboard 2021-10-12 12:55:44 +05:30
Evan Culver 9e949abe3e
connect: Remove envoy_version from bootstrap template (#11215) 2021-10-11 19:18:56 -07:00
Connor 2cd80e5f66
Merge pull request #11222 from hashicorp/clly/service-mesh-metrics
Start tracking connect service mesh usage metrics
2021-10-11 14:35:03 -05:00
Connor Kelly 2119351f77
Replace fmt.Sprintf with function 2021-10-11 12:43:38 -05:00
Bryce Kalow 83b07835f5
website: upgrade deps to fix search styles (#11271) 2021-10-11 11:35:34 -05:00
DillonStreator fc63a43385
ui: consistent empty state for intentions (#11261) 2021-10-11 12:16:46 -04:00
John Cowen 569c92c10c
ui: Improve dev-time SSO/OIDC visibility (#11248)
This commit tries to make the development experience of working on our OIDC support a little more realistic, essentially by creating our own OIDC provider in our application (only during development builds). You can still provide a real OIDC provider to work with via our dev time environment/cookie variables as before, just now we default to the behaviour in this commit. Overall this makes it much easier to verify our OIDC support in the UI, and also opens up avenues for us to be able to test more scenarios that we couldn't before (for example not only successful logins, but also erroneous, potentially with multiple error reasons).
2021-10-11 16:03:59 +01:00
John Cowen c059e57f33
ui: Ignore erroneous ember/jQuery eslint warnings (#11238) 2021-10-11 14:53:22 +01:00
John Cowen f03d79c8b0
ci: Don't focus install JS deps (#11267) 2021-10-11 14:37:21 +01:00
John Cowen dae93f8a9c
ui: Fix up socket icon (#11234) 2021-10-11 14:37:05 +01:00
John Cowen f4d694b73b
docs: Fixes a typo in the UI readme docs (#11268) 2021-10-11 14:30:22 +01:00
Kim Ngo 6221a29820
docs/nia: Clearify enhanced backend and include ACL permissions for Consul backend (#11201) 2021-10-11 07:52:37 -05:00
tarat44 baec141df3 preload json values in structs to determine defaults 2021-10-10 17:52:26 -04:00
Daniel Nephin e37b5846fd ca: split Primary/Secondary Provider
To make it more clear which methods are necessary for each scenario. This can
also prevent problems which force all DCs to use the same Vault instance, which
is currently a problem.
2021-10-10 15:48:02 -04:00
Daniel Nephin 571acb872e ca: extract primaryUpdateRootCA
This function is only run when the CAManager is a primary. Extracting this function
makes it clear which parts of UpdateConfiguration are run only in the primary and
also makes the cleanup logic simpler. Instead of both a defer and a local var we
can call the cleanup function in two places.
2021-10-10 15:26:55 -04:00
Daniel Nephin a65594d8ec ca: rename functions to use a primary or secondary prefix
This commit renames functions to use a consistent pattern for identifying the functions that
can only be called when the Manager is run as the primary or secondary.

This is a step toward eventually creating separate types and moving these methods off of CAManager.
2021-10-10 15:26:55 -04:00
Daniel Nephin 20f0efd8c1 ca: make receiver variable name consistent
Every other method uses c not ca
2021-10-10 15:26:55 -04:00
tarat44 e3a18e5203 add test cases for h2ping_use_tls default behavior 2021-10-09 17:12:52 -04:00
Pamela Bortnick 8de8b7c011
Consul on Kuberntes Link (#11265)
* Add linke to consul on kubernetes page in homepage

* Remove eyebrow
2021-10-08 14:14:31 -07:00
Pamela Bortnick 7d98ea2550
[Assembly] Consul on Kubernetes Page (#11047)
* Start new page

* reset

* Consul on Kubernetes - Features List Section (#11078)

* Fix conflicts

* Start adding and placing content

* Add a lot of styling and background image

* Looking like design. Before adding more global styles

* Work on editing styles

* Move imports and switch to flex

* Add more styles and bottom left background image

* Fix conflicts

* Fix styles on mobile

* Change images path in public

* Updates from code review - Move data and update styles

* Convert to tsx and add types

* Change button props to get desired styling without using css

* Remove margin on mobile

* Consul On Kubernetes - Hero (#11089)

* Start hero section

* Increase max sizes for container

* Minor Edits

* Use g-grid-container

* Edit video styles and test

* Rename component

* Start moving global styles over

* Move hero styles to locl

* Remove composes g-hero

* Fix flex basis on media

* Add display flex to media

* Clean up some styles

* Consul On Kubernetes - Block List (#11114)

* Start block list

* Enter data and start styles

* Get all images in and update styles

* Move data and convert to ts

* Add comment in page

* Consul On Kubernetes - Side by Side Section (#11122)

* Start block list

* Enter data and start styles

* Get all images in and update styles

* Start side by side

* Add content and more styles

* Some more styles

* Add styles for text and titles

* Edit styles and clean

* Fix spacing between button and text in overview

* Delete public folder

* Fix images in block on page

* remove extra file

* Fix classnames import

* Use fragment

* Consul On Kubernetes - Docs List Component (#11150)

* Add docs list component

* Add docs list content

* Change type declaration

* Remove unecessary style

* Use fragment

* Change icons

* Consul On Kubernetes - Card List & Get Started Section  (#11168)

* Start card list component

* Begin adding content

* Start wrapper styles

* Add more styles for card

* Fix style

* Edit styles

* Use next Link

* Add minor formatting

* Make entire card a link

* Add transition

* Change import

* Use svg instead of button and  make target blank

* Move wrapper div to component and add classname prop, use color variable for border

* Change min of card in grid

* Less pxels for min

* Update copy

* Consul on Kubernetes Content (#11179)

* Add content so far

* Add hero content and switch video to embed - needs editing

* Add overview and docs links

* Use iframe in hero and style

* Remove = null on prop

* Add learn tutorials content so far

* Change learn tutorials content

* Change placeholder learn content

* Add requested copy updates

* Align numbers

* Consul on Kubernetes Content & Design Updates (#11217)

* Update docs icons

* Update learn cards

* Update challenges icon

* Video poster pending

* New image

* Add split up background images

* Looking pretty good

* Fix up background image

* Add more styles

* Add meta description and new feature images

* Revert img change

* Fix up images and replace poster

* Switch to grid

* Move images

* Clean up styles

* Change hero button text

* Update styles for hero video

* Update youtube url

* Use gray variable

* Consul on Kubernetes Metadata (#11219)

* Add meta data for sharing

* Test

* Test 2

* Add meta title

* Update share image

* CHange name

* Test

* Test again

* Use relative url

* Swap urls for hero ctas

* Update tutorial card to be uniform

* Change overview button text

* Resolve conflicts and fix dependencies
2021-10-08 15:50:36 -04:00
FFMMM 7f28301212
fix consul_autopilot_healthy metric emission (#11231)
https://github.com/hashicorp/consul/issues/10730
2021-10-08 10:31:50 -07:00
Kenia b729414c05
ui: Instructions for branch naming pattern (#11256)
* Instructions for branch naming pattern

* fix
2021-10-08 13:09:06 -04:00
David Yu eb414d4884
docs: Remove Ambassador docs since they are outdated and link to Learn Guide (#11251)
* docs: Remove Ambassador docs since they are outdated
* Relink to Learn guide
2021-10-08 09:05:25 -07:00
Connor Kelly 38986d6371
Rename ConfigUsageEnterprise to EnterpriseConfigEntryUsage 2021-10-08 10:53:34 -05:00
John Cowen 93b78aee53
ui: Adds initial CRUD for partitions (#11188)
* Add `is` and `test` helpers in a similar vein to `can`

Adds 2 new helpers in a similar vein to ember-cans can:

- `is` allows you to use vocab/phrases such as (is "something model") which calls isSomething() on the models ability.
- `test` allows you to use vocab/phrases such as (test "is something model") or (test "can something model")which calls isSomething() / canSomething() on the models ability. Mostly using the is helper and the can helper. It's basically the is/can helper combined.

* Adds TextInput component + related modifiers/helpers/machines/services (#11189)

Adds a few new components/modifiers/helpers to aid building forms.

- state-chart helper, used in lieu of a more generic approach for requiring our statecharts.
- A few modifications to our existing disabled modifier.
- A new 'validation' modifier, a super small form validation approach built to make use of state charts (optionally). Eventually we should be able to replace our current validation approach (ember-changeset-validations + extra deps) with this.
- A new TextInput component, which is the first of our new components specifically to make it easy to build forms with validations. This is still a WIP, I left some comments in pointing out where this one would be progressed, but as we don't need the planned functionality yet, I left it where it was. All of this will be fleshed out more at a later date.

Documentation is included for all of ^

* ui: Adds initial CRUD for partitions (#11190)

Adds basic CRUD support for partitions. Engineering-wise probably the biggest takeaway here is that we needed to write very little javascript code to add this entire feature, and the little javascript we did need to write was very straightforwards. Everything is pretty much just HTML. Another note to make is that both ember-changeset and ember-data (model layer things) are now completely abstracted away from the view layer of the application.

New components:

- Consul::Partition::Form
- Consul::Partition::List
- Consul::Partition::Notifications
- Consul::Partition::SearchBar
- Consul::Partition::Selector

See additional documentation here for more details

New Route templates:

- index.hbs partition listing/searching/filtering
- edit.hbs partition editing and creation

Additionally:

There is some additional debug work here for better observability and to prevent any errors regarding our href-to usage when a dc is not available in our documentation site.

Our softDelete functionality has been DRYed out a little to be used across two repos.

isLinkable was removed from our ListCollection component for lists like upstream and service listing, and instead use our new is helper from within the ListCollection, meaning we've added a few more lighterweight templateOnly components.

* ui: Exclude all debug-like files from the build (#11211)

This PR adds **/*-debug.* to our test/prod excluded files (realised I needed to add test-support.js also so added that here as its more or less the same thing). Conditionally juggling ES6 static imports (specifically debug ones) for this was also getting a little hairy, so I moved it all to use the same approach as our conditional routes. All in all it brings the vendor build back down to ~430kb gzipped.
2021-10-08 16:29:30 +01:00
Paul Banks 51769d1f95
Merge pull request #11037 from hashicorp/docs/mesh-header-manip
Document HTTP Header manipulation options added in #10613
2021-10-08 13:11:44 +01:00