Commit Graph

18635 Commits

Author SHA1 Message Date
freddygv 03a9611a5e Add changelog entry 2022-09-16 17:57:10 -06:00
freddygv 8166a870b6 Add awareness of server mode to TLS configurator
Preivously the TLS configurator would default to presenting auto TLS
certificates as client certificates.

Server agents should not have this behavior and should instead present
the manually configured certs. The autoTLS certs for servers are
exclusively used for peering and should not be used as the default for
outbound communication.
2022-09-16 17:57:10 -06:00
freddygv 107e4d8494 Test fixes
- Pulls in CLI test fix from main
- Updates psutils to fix TestAgent_Host on M1 Mac
2022-09-16 17:57:10 -06:00
freddygv 0c3853a2d0 Add server certificate manager
This certificate manager will request a leaf certificate for server
agents and then keep them up to date.
2022-09-16 17:57:10 -06:00
freddygv 13dc01c553 Update TLS configurator for peering traffic
When the TLS-enabled gRPC port receives a request for the expected
it must use the auto-tls certificates.
2022-09-16 17:57:09 -06:00
freddygv ef99b30cb8 Generate ACL token for server management
This commit introduces a new ACL token used for internal server
management purposes.

It has a few key properties:
- It has unlimited permissions.
- It is persisted through Raft as System Metadata rather than in the
ACL tokens table. This is to avoid users seeing or modifying it.
- It is re-generated on leadership establishment.
2022-09-16 17:54:34 -06:00
freddygv a33a014b9c Add handling in agent cache for server leaf certs 2022-09-16 17:54:34 -06:00
Riddhi Shah 6cea2de281
Update docs for merge-central-config support (#14597)
Updates API docs to highlight merge-central-config support.
2022-09-16 14:48:03 -07:00
Evan Culver d3bd6d405f
changelog: fix missing backtick (#14663) 2022-09-16 11:30:06 -07:00
Jeff Boruszak 07d076a92c
Merge pull request #14656 from hashicorp/docs/search-metadata-headers
docs: Search Refresh Fixes
2022-09-16 11:31:14 -05:00
boruszak 61c11be969 Clean up 2022-09-16 11:15:55 -05:00
boruszak 3fdb3e894d Spacing and title fixes 2022-09-16 10:28:32 -05:00
Kyle Havlovitz 40da079f18
Merge pull request #14598 from hashicorp/root-removal-fix
connect/ca: Don't discard old roots on primaryInitialize
2022-09-15 14:36:01 -07:00
Jeff Boruszak 3672ebb422
Merge pull request #14643 from hashicorp/docs/search-metadata-headers
docs: Search Description Refresh
2022-09-15 15:49:45 -05:00
Jeff Boruszak f01384d5a0
Delete requirements.mdx 2022-09-15 15:38:56 -05:00
boruszak 94c4ff07a8 Merge 'main' into docs/search-metadata-headers 2022-09-15 15:34:36 -05:00
Kyle Havlovitz a50c13e0e1 Add changelog note 2022-09-15 12:59:16 -07:00
Kyle Havlovitz fe10009a12 connect/ca: don't discard old roots on primaryInitialize 2022-09-15 12:59:09 -07:00
Jeff Boruszak b56f0976df
Merge pull request #14621 from hashicorp/docs/search-desc-batch05
docs: Search Metadata Batch 05
2022-09-15 14:33:59 -05:00
Jeff Boruszak 73d0bca8a1
Apply suggestions from code review
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-09-15 14:33:39 -05:00
Jeff Boruszak 9fef128a19
Merge pull request #14596 from hashicorp/docs/search-desc-batch04
docs: Search Metadata Batch 04
2022-09-15 14:30:09 -05:00
Jeff Boruszak 62b4b4c5cd
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com>
2022-09-15 14:29:34 -05:00
Jeff Boruszak 167789f526
Merge pull request #14593 from hashicorp/docs/search-desc-batch03
docs: Search Metadata Batch 03
2022-09-15 13:59:18 -05:00
Jeff Boruszak 99b453e273
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2022-09-15 13:58:47 -05:00
Jeff Boruszak fc3141c84c
Merge pull request #14589 from hashicorp/docs/search-desc-batch02
docs: Search Metadata Batch 02
2022-09-15 12:11:49 -05:00
Jeff Boruszak a0b56f0612
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
2022-09-15 12:10:20 -05:00
Gabriel Santos 09c00ff39a
Middleware: `RequestRecorder` reports calls below 1ms as decimal value (#12905)
* Typos

* Test failing

* Convert values <1ms to decimal

* Fix test

* Update docs and test error msg

* Applied suggested changes to test case

* Changelog file and suggested changes

* Update .changelog/12905.txt

Co-authored-by: Chris S. Kim <kisunji92@gmail.com>

* suggested change - start duration with microseconds instead of nanoseconds

* fix error

* suggested change - floats

Co-authored-by: alex <8968914+acpana@users.noreply.github.com>
Co-authored-by: Chris S. Kim <kisunji92@gmail.com>
2022-09-15 13:04:37 -04:00
Daniel Graña 13ac6356a8
[BUGFIX] Do not use interval as timeout (#14619)
Do not use interval as timeout
2022-09-15 12:39:48 -04:00
Blake Covarrubias 3095d4d702
docs: Fix spelling errors on website (#14634) 2022-09-15 09:03:12 -07:00
Jeff Boruszak 8582506cba
Merge pull request #14560 from hashicorp/docs/search-desc-batch01
docs: Seach Metadata Batch 01
2022-09-15 10:38:38 -05:00
Jeff Boruszak f85ec5f4fc
Apply suggestions from code review
Co-authored-by: Jared Kirschner <85913323+jkirschner-hashicorp@users.noreply.github.com>
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
2022-09-15 10:32:23 -05:00
Jeff Boruszak da7bd437cd
Update website/content/docs/enterprise/admin-partitions.mdx 2022-09-15 09:46:06 -05:00
Michael Klein 048572946c
ui: chore - upgrade ember and friends (#14518)
* v3.20.2...v3.24.0

* Fix handle undefined outlet in route component

* Don't use template helper for optional modal.open

Using the optional-helper here will trigger a computation
in the same runloop error. This is because we are setting
the `modal`-property when the `<Ref>` component gets
rendered which will update the `this.modal`-property which
will then recompute the `optional`-helper leading to this
error.

Instead we will create an action that will call the `open`-method
on the modal when it is defined. This gets rid of the double
computation error as we will not access the modal property
twice in the same runloop when `modal` is getting set.

* Fix - fn needs to be passed function tab-nav

We create functions in the component file instead
so that fn-helper stops complaining about the
need to pass a function.

* Update ember-exam to 6.1 version

"Makes it compatible" with ember-qunit v5

* scheduleOnce setMaxHeight paged-collection

We need to schedule to get around double-computation error.

* Fix - model.data is removed from ember-data

This has been private API all along - we need to
work around the removal.

Reference: https://github.com/emberjs/data/pull/7338/files#diff-9a8746fc5c86fd57e6122f00fef3155f76f0f3003a24b53fb7c4621d95dcd9bfL1310

* Fix `propContains` instead of `deepEqual` policy

Recent model.data works differently than iterating attributes.
We use `propContains` instead of `deepEqual`. We are only
interested in the properties we assert against and match
the previous behavior with this change.

* Fix `propContains` instead of `deepEqual` token

* Better handling single-records repo test-helper

`model.data` has been removed we need to handle proxies and
model instances differently.

* Fix remaining repository tests with propContains

We don't want to match entire objects - we don't care
about properties we haven't defined in the assertion.

* Don't use template helper for optional modal.open

Using a template helper will give us a recomputation error -
we work around it by creating an explicit action on
the component instead.

* Await `I $verb the $pageObject object` step

* Fix no more customization ember-can

No need to customize, the helper handles destruction
fine on its own.

* Fix - don't pass `optional` functions to fn

We will declare the functions on the component instead.
This gives us the same behavior but no error from
`fn`, which expects a function to be passed.

* Fix - handle `undefined` state on validate modifier

StateChart can yield out an undefined `state` we need
to handle that in the validate modifier

* Fix linting errors tests directory

* Warn / turn off new ember linting issues

We will tackle them one by one and don't want to
autofix issues that could be dangerous to auto-fix.

* Auto-fix linting issues

* More linting configuration

* Fix remaining linting issues

* Fix linting issues new files after rebase

* ui: Remove ember-cli-uglify config now we are using terser (#14574)

Co-authored-by: John Cowen <johncowen@users.noreply.github.com>
2022-09-15 09:43:17 +01:00
John Cowen f3a508f55b
ui: Update mock intention metadata to only include possible values (#14607) 2022-09-15 09:37:40 +01:00
David Yu 939074a4e5
docs: add nginx ingress controller example (#14615)
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
2022-09-14 19:43:01 -07:00
Bryce Kalow e61e7d1eb5
docs: update /install -> /downloads (#14631) 2022-09-14 18:34:25 -05:00
Evan Culver f36157c025
Add more content to integration test docs (#14613) 2022-09-14 16:13:23 -07:00
trujillo-adam 04ec743621
Merge pull request #14603 from hashicorp/docs/what-is-consul-devdot-update
Docs/what is consul devdot update
2022-09-14 16:01:19 -07:00
trujillo-adam 925aad34e8
Merge branch 'main' into docs/what-is-consul-devdot-update 2022-09-14 15:57:04 -07:00
boruszak 0f3b67e17a /docs/k8s/connect/observability 2022-09-14 17:49:29 -05:00
boruszak bf807c2c07 /docs/k8s/connect 2022-09-14 17:48:49 -05:00
Bryce Kalow 8d416f74ba
website: content updates for developer (#14419)
Co-authored-by: Ashlee Boyer <ashlee.boyer@hashicorp.com>
Co-authored-by: Ashlee M Boyer <43934258+ashleemboyer@users.noreply.github.com>
Co-authored-by: Tu Nguyen <im2nguyen@gmail.com>
Co-authored-by: Tu Nguyen <im2nguyen@users.noreply.github.com>
Co-authored-by: HashiBot <62622282+hashibot-web@users.noreply.github.com>
Co-authored-by: Kevin Wang <kwangsan@gmail.com>
2022-09-14 17:45:42 -05:00
boruszak 0996dab76b /docs/k8s/installation + /installation/platforms 2022-09-14 17:44:13 -05:00
trujillo-adam a54c3ed9a4 applied feedback from review 2022-09-14 15:42:19 -07:00
boruszak f64f89540b /docs/k8s/operations 2022-09-14 17:29:21 -05:00
boruszak 62eda6c9eb /docs/k8s 2022-09-14 17:26:14 -05:00
boruszak 8100a5b67f /docs/k8s/upgrades 2022-09-14 17:21:47 -05:00
boruszak 41deca9acb /docs/k8s/crds 2022-09-14 17:20:05 -05:00
Derek Menteer 2fb66d0cc9
Improve grpc_tls wording in docs. (#14608)
Improve grpc_tls wording in docs.

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2022-09-14 15:25:39 -05:00
Evan Culver aa40adf97e
connect: Bump latest Envoy to 1.23.1 in test matrix (#14573) 2022-09-14 13:20:16 -07:00