Commit Graph

11569 Commits

Author SHA1 Message Date
Luke Kysow d998a776dd
Documentation for wan fed via mgw on k8s 2020-05-14 09:09:18 -07:00
Preetha 0ca31cd9ed
fix typo in changelog 2020-05-14 08:11:56 -05:00
Hans Hasselberg 536eaf917c
Update CHANGELOG.md 2020-05-14 10:44:45 +02:00
Pierre Souchay 9611a266a2
tests: fix unstable test `TestAgentAntiEntropy_Checks`. (#7594)
Example of failure: https://circleci.com/gh/hashicorp/consul/153932#tests/containers/2
2020-05-14 09:54:49 +02:00
Preetha 7f319a477c
removed duplicated line about JWT auth method 2020-05-13 19:59:13 -05:00
Mike Morris 26b6bc9561
docs: add audit logging docs to agent configuration (#7880) 2020-05-13 20:59:00 -04:00
Preetha 1ff724bb6c
Merge pull request #7881 from hashicorp/b-wanfed-update
temporarily remove link that 404s
2020-05-13 19:23:14 -05:00
Preetha 2928fe0e76
temporarily remove link that 404s
will be readded later when page is available
2020-05-13 19:11:13 -05:00
Preetha 2885bfc2bd
Merge pull request #7879 from hashicorp/b-changelog-1.8
Update changelog
2020-05-13 18:34:05 -05:00
Preetha Appan 6b02a1a580 Add blurb on audit logging 2020-05-13 18:10:32 -05:00
Preetha 3aa218918a
Update changelog
Moved a couple of key features to the top with longer descriptions
2020-05-13 18:05:50 -05:00
Kit Patella 70761a345f
Merge pull request #7878 from hashicorp/oss-sync/auditing-http
http: migrate from instrumentation in s.wrap() to an s.enterpriseHand…
2020-05-13 16:05:31 -07:00
Kit Patella a33791c66a http: migrate from instrumentation in s.wrap() to an s.enterpriseHandler() 2020-05-13 15:47:05 -07:00
Freddy 85b70d6eb1
Add beta tags to gateway docs (#7876) 2020-05-13 15:47:20 -06:00
Chris Piraino 7f4f28b6d7
Ingress and Terminating Gateway docs (#7710)
This PR contains documentation additions for ingress and terminating gateways. New pages for the config-entries and overall feature description were added, as well as various additions to related pages.

Co-authored-by: Jono Sosulska <42216911+jsosulska@users.noreply.github.com>
Co-authored-by: freddygv <gh@freddygv.xyz>
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
Co-authored-by: kaitlincarter-hc <43049322+kaitlincarter-hc@users.noreply.github.com>
2020-05-13 16:29:40 -05:00
Freddy 8bdd5026e5
Update CHANGELOG.md 2020-05-13 15:26:18 -06:00
Chris Piraino f38a15cf17
Update CHANGELOG.md 2020-05-13 16:06:05 -05:00
Alvin Huang f1346bd34d
Give ember-build a larger container (#7873)
* bump ember-build-prod and ember-build to medium+ to prevent OOM errors

* filter frontend workflow to only run on master, ui-staging, and ui/* branches
2020-05-13 15:40:30 -04:00
Preetha 272733a5c1
Merge pull request #7823 from hashicorp/docs-wanfed-mesh
Redo PR #7430 for new website (docs for WAN federation over mesh gateways)
2020-05-13 14:22:18 -05:00
R.B. Boyer 49e6680892
docs: docs for jwt and oidc auth methods (#7847) 2020-05-13 14:14:03 -05:00
Preetha Appan 947d7df816 added links, removed todo 2020-05-13 14:11:58 -05:00
Jeff Escalante 9b95af60b8 add tabs component 2020-05-13 14:01:37 -04:00
Jeff Escalante 0b848deae7 add to primary website readme 2020-05-13 14:01:37 -04:00
Jeff Escalante 28922ddba5 add docs for enterprise alert component 2020-05-13 14:01:37 -04:00
Freddy 7e71b4d70d
Use proxy-id in gateway auto-registration (#7845) 2020-05-13 11:56:53 -06:00
Jono Sosulska e41fbd4b49
Update FAQ with Compat Matrix information (#7861) 2020-05-13 13:46:39 -04:00
John Cowen c53c7a4ed3
Update CHANGELOG.md 2020-05-13 18:46:32 +01:00
Kenia c3082ea4df
Merge pull request #7870 from hashicorp/ui-staging
UI Release Merge (1.8: ui-staging merge)
2020-05-13 13:36:35 -04:00
Kenia c07ef3f36a ui: Add namespaces to gateway services (#7868)
* Add namespace info to gateway Linked Services and Upstreams tabs

* Upgrade consul-api-double to version 2.15.1
2020-05-13 13:12:56 -04:00
Kenia 600dea8631 ui: Create Upstreams tab for Ingress Gateways (#7865) 2020-05-13 13:12:56 -04:00
Kenia c548d94450 ui: Create Linked Services Tab for Terminating Gateways (#7858)
* Fix to bottom border not applying to the correct <li>

* Create Linked Services tab with styling and tests

* Add internal endpoint gateway-services-nodes to the codebase with tests

* Upgrade consul-api-double to version 2.15.0
2020-05-13 13:12:55 -04:00
Matt Keeler 849eedd142
Fix identity resolution on clients and in secondary dcs (#7862)
Previously this happened to be using the method on the Server/Client that was meant to allow the ACLResolver to locally resolve tokens. On Servers that had tokens (primary or secondary dc + token replication) this function would lookup the token from raft and return the ACLIdentity. On clients this was always a noop. We inadvertently used this function instead of creating a new one when we added logging accessor ids for permission denied RPC requests. 

With this commit, a new method is used for resolving the identity properly via the ACLResolver which may still resolve locally in the case of being on a server with tokens but also supports remote token resolution.
2020-05-13 13:00:08 -04:00
jsosulska 5928bbd319 Update FAQ with Compat Matrix information 2020-05-12 19:43:56 -04:00
Jono Sosulska 38ba851993
Update FAQ + formatting (#7816)
* Update FAQ + formatting

* Fix 80 chars lines in FAQ
2020-05-12 19:36:49 -04:00
Preetha Appan 50a0439c59 Clean up placeholder diagrams, rename file to use dashes 2020-05-12 16:34:59 -05:00
Chris Piraino 3eb4e4012a
Make new gateway tests compatible with enterprise (#7856) 2020-05-12 13:48:20 -05:00
Daniel Nephin 4b8a21d6f5 Update CHANGELOG 2020-05-12 14:36:12 -04:00
Daniel Nephin 0469f35535
Merge pull request #7469 from djmgit/log_dir
Fix #7468 : Out log error for invalid log directory
2020-05-12 14:26:52 -04:00
John Cowen 874b585438
Merge pull request #7857 from hashicorp/ui-staging-1-8
UI Release Merge (1.8: ui-staging merge)
2020-05-12 19:24:11 +01:00
Daniel Nephin 5b348c2107
Merge pull request #7654 from hashicorp/dnephin/add-linter-unconvert
Add unconvert linter
2020-05-12 14:13:04 -04:00
Daniel Nephin 2e0f750f1a Add unconvert linter
To find unnecessary type convertions
2020-05-12 13:47:25 -04:00
John Cowen 7577f6bfca ui: Test Improvements (#7854)
* ui: Combine all "see/don't see" steps into one step

* Fix up broken tests

* Add some test meta data/titles

* Test out proxies in the service listing

* Remove comments
2020-05-12 17:14:57 +00:00
John Cowen 1ddffb4162 ui: Renames CopyButtonFeedback to CopyButton and use it everywhere (#7834)
* ui: Renames CopyButtonFeedback to CopyButton and use it everywhere

* Uncapitalize output

* Remove the ability to set the contents via an attr, and..

..change the attribute for the string that gets copied to be called
'value' so it feels like HTML
2020-05-12 17:14:56 +00:00
John Cowen df1ae18a41 ui: Restrict %secondary-button to only form buttons in the main content (#7836) 2020-05-12 17:14:56 +00:00
Kenia ed201c3f17 ui: Add and use ProxyFor to get the `connected with proxy` boolean (#7820)
* Add and use ProxyFor to get the `connected with proxy` boolean

* Fix up page-navigation test

* Upgrade to @hashicorp/consul-api-double@2.14.7
2020-05-12 17:14:55 +00:00
John Cowen 7d6f5ef92a ui: refactor out the taglist component to use a recursive pattern (#7837)
* ui: refactor out the taglist component to use a recursive pattern

* Make sure simple rendering tests pass
2020-05-12 17:14:54 +00:00
John Cowen 4c46d2ed6f ui: Remove debugging pause from our acceptance tests (#7852) 2020-05-12 17:14:53 +00:00
John Cowen c96fd3778e ui: Misc SSO w/Namespace amends (#7851)
* ui: If an auth-method is in another namespace than default, make that clear

* Pass through the namespace of the auth method rather than use the current

* Make sure we refresh the application route, before redirecting

This ensure that the nspaces and are refreshed in the main nav menu
2020-05-12 17:14:53 +00:00
Kenia b56ac73327 ui: Update copy button icon margin (#7835) 2020-05-12 17:14:52 +00:00
John Cowen 412eec7f5d UI: Improved Login/Logout flow inc SSO support (#7790)
* 6 new components for new login/logout flow, plus SSO support

UI Components:

1. AuthDialog: Wraps/orchestrates AuthForm and AuthProfile
2. AuthForm: Authorization form shown when logged out.
3. AuthProfile: Simple presentational component to show the users
'Profile'
4. OidcSelect: A 'select' component for selecting an OIDC provider,
dynamically uses either a single select menu or multiple buttons
depending on the amount of providers

Data Components:

1. JwtSource: Given an OIDC provider URL this component will request a
token from the provider and fire an donchange event when it has been
retrieved. Used by TokenSource.
2. TokenSource: Given a oidc provider name or a Consul SecretID,
TokenSource will use whichever method/API requests required to retrieve
Consul ACL Token, which is emitted to the onchange event handler.

Very basic README documentation included here, which is likely to be
refined somewhat.

* CSS required for new auth/SSO UI components

* Remaining app code required to tie the new auth/SSO work together

* CSS code required to help tie the auth/SSO work together

* Test code in order to get current tests passing with new auth/SSO flow

..plus extremely basics/skipped rendering tests for the new components

* Treat the secret received from the server as the truth

Previously we've always treated what the user typed as the truth, this
breaks down when using SSO as the user doesn't type anything to retrieve
a token. Therefore we change this so that we use the secret in the API
response as the truth.

* Make sure removing an dom tree from a buffer only removes its own tree
2020-05-12 17:14:51 +00:00