Commit Graph

10476 Commits

Author SHA1 Message Date
Becca Petrin
d65ebddf89 revert more unnecessary dep changes 2019-06-19 10:47:25 -07:00
Becca Petrin
6bbba884b1 revert unnecessary dep updates from bad merge 2019-06-19 10:43:09 -07:00
Becca Petrin
51f52175ab merge master 2019-06-19 10:24:45 -07:00
Becca Petrin
07120c2faf update to latest plugin dependencies 2019-06-19 10:04:49 -07:00
Jim Kalafut
7846095a8d changelog++ 2019-06-19 08:37:24 -07:00
Sam Salisbury
80d186dd3b Merge pull request #6924 from hashicorp/fix-netlify-tf
pin github and netlify providers and fix config
2019-06-19 16:01:52 +01:00
Alvin Huang
0331a3dcd4 pin github and netlify providers and fix config 2019-06-19 10:45:35 -04:00
Jeff Mitchell
4184e72025 Fix a deadlock if a panic happens during request handling (#6920)
* Fix a deadlock if a panic happens during request handling

During request handling, if a panic is created, deferred functions are
run but otherwise execution stops. #5889 changed some locks to
non-defers but had the side effect of causing the read lock to not be
released if the request panicked. This fixes that and addresses a few
other potential places where things could go wrong:

1) In sealInitCommon we always now defer a function that unlocks the
read lock if it hasn't been unlocked already
2) In StepDown we defer the RUnlock but we also had two error cases that
were calling it manually. These are unlikely to be hit but if they were
I believe would cause a panic.

* Add panic recovery test
2019-06-19 09:40:57 -04:00
Jim Kalafut
e657dc46b5 changelog++ 2019-06-18 17:14:20 -07:00
Calvin Leung Huang
3a143ae7d5 changelog++ 2019-06-18 15:57:19 -07:00
Calvin Leung Huang
94226122bb auth/aws: guard against malformed assumed role ARNs (#6917)
* auth/aws: guard against malformed assumed role ARNs

* revert helper func changes
2019-06-18 15:51:40 -07:00
Becca Petrin
70287b6d39 Update CHANGELOG.md 2019-06-18 14:34:30 -07:00
Becca Petrin
c4cbd3c1af Merge pull request #6916 from hashicorp/fix-es-db-plugin-compilation
Fix TestPluginCatalog_List
2019-06-18 14:16:41 -07:00
Becca Petrin
1978528f2a fix test 2019-06-18 14:04:08 -07:00
Jeff Mitchell
2d7f011be7 changelog++ 2019-06-18 16:44:19 -04:00
Jeff Mitchell
0275679104 Update group alias handling to better protect against namespace differences
Also, allow canonical ID to be switched
2019-06-18 16:43:30 -04:00
Yoko
859981d3c9 Added a note about JWT (#6899) 2019-06-18 12:36:51 -07:00
Jeff Mitchell
f7444276f7 Update api and sdk to remove direct gogo dep 2019-06-18 14:51:13 -04:00
Jeff Mitchell
07a27b1842 Update sdk in api/ 2019-06-18 14:50:21 -04:00
Jeff Mitchell
f990eb1626 Remove gogo proto from where it snuck in 2019-06-18 14:45:42 -04:00
Becca Petrin
cc301dda64 Merge pull request #6911 from hashicorp/fix-aws-region-test
Fix failing AWS region test
2019-06-18 10:14:04 -07:00
Becca Petrin
d5f333005a fix failing region test 2019-06-18 09:50:38 -07:00
Becca Petrin
f0910cf49b Merge pull request #6908 from hashicorp/fix-test-predict-plugins
Fix test predict plugins
2019-06-18 09:39:25 -07:00
Becca Petrin
b492bd3068 fix test 2019-06-18 09:36:25 -07:00
Jeff Mitchell
94cefffe08 Update api/sdk in main repo 2019-06-18 12:24:15 -04:00
Jeff Mitchell
fb84828102 Bump API's SDK version 2019-06-18 12:23:16 -04:00
Jeff Mitchell
0d8de0b548 Return integers, not floats, when reading token params 2019-06-18 12:22:12 -04:00
Jeff Mitchell
bbf6bcea09 Update description field for some token store role values to be accurate 2019-06-18 11:33:56 -04:00
Jeff Mitchell
4fa4c50079 Bump api/sdk dep 2019-06-18 11:19:15 -04:00
Jeff Mitchell
daa6a789fd Bump api against latest sdk 2019-06-18 11:18:22 -04:00
Jeff Mitchell
1ce8868aaf Update go-plugin dep 2019-06-18 10:53:38 -04:00
Jeff Mitchell
a10d036e1c changelog++ 2019-06-18 10:29:51 -04:00
Jeff Mitchell
26310916c7 Add a force capability to delete in the policy store
This allows us to truly delete policies when we've either invalidated it
(which since they're singletons/default should only happen when we're
doing a namespace delete) or are doing a namespace delete on the local
node.
2019-06-18 10:25:57 -04:00
Becca Petrin
c15c0fab88 Merge pull request #6897 from hashicorp/add-es-docs-to-list
Add ElasticSearch docs to sidebars
2019-06-17 15:21:46 -07:00
Jeff Mitchell
45b0468234 Fix some tests 2019-06-17 17:02:34 -04:00
Becca Petrin
786f7d60c5 add es docs to sidebars 2019-06-17 12:05:57 -07:00
Evan Phoenix
10022f3df1 Upgrade github.com/lib/pq to pickup SCRAM-SHA-* methods (#6895) 2019-06-17 14:45:27 -04:00
Becca Petrin
5a017e8f09 Update elasticdb.html.md 2019-06-17 11:24:42 -07:00
Becca Petrin
9359e230da Merge pull request #6857 from hashicorp/add-elasticsearch-auth
Add ElasticSearch database secrets engine
2019-06-17 11:19:01 -07:00
Becca Petrin
4ebfba2c2b Merge branch 'opensource-master' into add-elasticsearch-auth 2019-06-17 11:12:51 -07:00
Becca Petrin
303572286f update doc to 7.1.1 2019-06-17 11:12:16 -07:00
ncabatoff
9bda1bcbd2 Add new license callback init step for logical backends. (#6887) 2019-06-17 14:11:35 -04:00
Frederic Hemberger
03f349ee8f Website(api/secret/identity): Fix whitespace in JSON examples (#6889) 2019-06-16 09:26:37 -04:00
Joshua Ogle
2fab20e082 UI: Remove upgrade modal (#6871)
* Remove upgrade-link component
* Hide enterprrise links from OSS
* Don't show sidebar if they can't use the options
2019-06-14 15:46:18 -06:00
Jeff Mitchell
c1ef613224 Update vendoring and api/sdk 2019-06-14 14:29:16 -04:00
ncabatoff
47d4e5b1f6 Fix deadlock in TestPostgreSQLBackend (#6884)
Make lock2's retryInterval smaller so it grabs the lock as soon as lock1's renewer fails to renew in time.  Fix the logic to test if lock1's leader channel gets closed: we don't need a goroutine, and
the logic was broken in that if we timed out we'd never write to the blocking channel we then try to read from.  Moreover the timeout was wrong.
2019-06-14 12:59:24 -04:00
Jeff Mitchell
c6c79cab84 changelog++ 2019-06-14 12:54:08 -04:00
Jeff Mitchell
906f4cec48 Prevent entity alias creation when entity is in different NS than mount (#943) (#6886) 2019-06-14 12:53:00 -04:00
Jeff Mitchell
263b96ef4e Tokenhelper v2 (#6662)
This provides an sdk util for common token fields and parsing and plumbs it into token store roles.
2019-06-14 10:17:04 -04:00
Jeff Mitchell
99eb461f98 Update vendoring 2019-06-13 13:41:18 -04:00