202 Commits

Author SHA1 Message Date
Jeff Mitchell
2a04720421 Update plugins 2018-01-24 23:24:16 -05:00
Jeff Mitchell
f4b2a9c2db Update go-plugin dep 2018-01-23 18:18:04 -05:00
Calvin Leung Huang
c3c63313f3
Version protocol switch (#3833)
* Use version to determine plugin protocol to use

* Remove field from ServeOpts

* Fix missing assignment, handle errors

* contraint -> constraint

* Inject the version string from the vault side

* Fix the version check

* Add grpc support check to database plugins

* Default to use grpc unless missing env var or fail on contraint check

* Add GRPCSupport test

* Add greater than test case

* Add go-version dep
2018-01-23 17:29:26 -05:00
Jeff Mitchell
e1028c644f Add centrify plugin as builtin 2018-01-19 06:03:33 -05:00
Jeff Mitchell
07893b2659 Add gcp and kubernetes back now that they're updated 2018-01-19 05:56:34 -05:00
Brian Kassouf
8142b42d95 Add context to storage backends and wire it through a lot of places (#3817) 2018-01-19 01:44:44 -05:00
Jeff Mitchell
2864fbd697 bump go-plugin 2018-01-18 16:58:03 -05:00
Brian Kassouf
03f6108822
gRPC Backend Plugins (#3808)
* Add grpc plugins

* Add grpc plugins

* Translate wrap info to/from proto

* Add nil checks

* Fix nil marshaling errors

* Provide logging through the go-plugin logger

* handle errors in the messages

* Update the TLS config so bidirectional connections work

* Add connectivity checks

* Restart plugin and add timeouts where context is not availible

* Add the response wrap data into the grpc system implementation

* Add leaseoptions to pb.Auth

* Add an error translator

* Add tests for translating the proto objects

* Fix rename of function

* Add tracing to plugins for easier debugging

* Handle plugin crashes with the go-plugin context

* Add test for grpcStorage

* Add tests for backend and system

* Bump go-plugin for GRPCBroker

* Remove RegisterLicense

* Add casing translations for new proto messages

* Use doneCtx in grpcClient

* Use doneCtx in grpcClient

* s/shutdown/shut down/
2018-01-18 13:49:20 -08:00
Jeff Mitchell
bb45c06371 Sync in latest go-plugin 2018-01-17 11:57:24 -05:00
Paweł Słomka
276ad1f529 Cleanup of deprecated commands in tests, docs (#3788) 2018-01-15 15:19:28 -05:00
Jeff Mitchell
0a2c911c03 Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-10 11:15:49 -05:00
Brian Kassouf
2a3243546a
Update plugin deps to include context changes (#3765)
* Update plugin deps to include context changes

* Fix tests
2018-01-08 12:26:13 -08:00
Jeff Mitchell
d6552a11cc Merge branch 'master-oss' into sethvargo/cli-magic 2018-01-03 14:02:31 -05:00
Jeff Mitchell
ce4b28efa9 Sync in plugin updates 2017-12-21 08:31:20 -05:00
Jeff Mitchell
4f31ee7cc8
Merge branch 'master' into f-nomad 2017-12-18 12:23:39 -05:00
Jeff Mitchell
b0d33e3bc0 Pull in new go-cleanhttp to fix data race 2017-12-18 09:40:22 -05:00
Calvin Leung Huang
d4f17b8f86 Use cleanhttp.PrintablePathCheckHandler to handle non-printable chara… (#3697) 2017-12-15 20:19:37 -05:00
Jeff Mitchell
96b0c31de5
Merge branch 'master' into f-nomad 2017-12-14 16:44:28 -05:00
Jeff Mitchell
3386e8d770
Update go-ldap with our patch for control packets. (#3670)
Fixes #3656
Fixes #3625
Fixes #3402
2017-12-09 10:45:03 -05:00
Nicolas Corrarello
a3df394134
Pull master into f-nomad
Signed-off-by: Nicolas Corrarello <nicolas@corrarello.com>
2017-11-29 15:56:37 +00:00
Jeff Mitchell
61402cf522 Bump deps 2017-11-07 11:57:05 -05:00
Jeff Mitchell
bcc6b3e2b9 Update gocql dep 2017-11-03 17:30:34 -04:00
Jeff Mitchell
d573b4637c Update kube stuff 2017-10-27 16:12:14 -04:00
Jeff Mitchell
6df6041088 Bump deps 2017-10-27 15:06:04 -04:00
Seth Vargo
2243babaa4
Update vendor 2017-10-24 09:39:34 -04:00
Seth Vargo
150e81f3f0
Update vendor libraries for autocomplete and cli 2017-10-24 09:26:43 -04:00
Vishal Nayak
6b9ce0c8c5 Porting identity store (#3419)
* porting identity to OSS

* changes that glue things together

* add testing bits

* wrapped entity id

* fix mount error

* some more changes to core

* fix storagepacker tests

* fix some more tests

* fix mount tests

* fix http mount tests

* audit changes for identity

* remove upgrade structs on the oss side

* added go-memdb to vendor
2017-10-11 10:21:20 -07:00
Vishal Nayak
8e1ffd3135 update deps (#3425)
Update deps for Kubernetes and GCP auth plugins
2017-10-04 22:59:12 -04:00
Chris Hoffman
a393b20cb6 fixing dependencies 2017-10-02 13:47:03 -04:00
Chris Hoffman
44aed8f71a fixing dependencies 2017-10-02 13:46:42 -04:00
Nicolas Corrarello
6a33bf0bf2 Adding further nomad deps 2017-10-02 16:56:39 +01:00
Oluwafemi Sule
f76633c8bc fix spellings errors (#3400) 2017-09-29 11:52:42 -04:00
Nicolas Corrarello
ff4f920917 Adding vendor dir 2017-09-29 14:39:59 +01:00
Brian Kassouf
4fb3f163ee Kubernetes auth (#3350)
* Import the kubernetes credential backend

* Add kubernetes docs

* Escape * characters

* Revert "Import the kubernetes credential backend"

This reverts commit f12627a9427bcde7e73cea41dea19d0922f94789.

* Update the vendored directory
2017-09-19 09:27:26 -05:00
Jeff Mitchell
0911358f1a more dep syncing 2017-09-15 21:47:22 -04:00
Jeff Mitchell
da1eb4cf16 Update to new gcp-auth plugin 2017-09-15 15:35:34 -04:00
Jeff Mitchell
3c143bd0d3 Bump deps 2017-09-15 12:44:57 -04:00
Chris Hoffman
3aa68c0034 Adding support for base_url for Okta api (#3316)
* Adding support for base_url for Okta api

* addressing feedback suggestions, bringing back optional group query

* updating docs

* cleaning up the login method

* clear out production flag if base_url is set

* docs updates

* docs updates
2017-09-15 00:27:45 -04:00
Calvin Leung Huang
2fffe60fa0 Update vendored docker deps 2017-09-07 11:05:33 -04:00
Jeff Mitchell
b0e29bb2ec Bump deps 2017-09-05 18:06:47 -04:00
Jeff Mitchell
117de0ab8b Bump gcp plugin dep 2017-09-05 10:56:32 -04:00
Jeff Mitchell
a9509d7017 Bump hclog dep 2017-09-03 12:33:44 -04:00
Chris Hoffman
e54a3dbe47 Updating Okta lib for credential backend (#3245)
* migrating to chrismalek/oktasdk-go Okta library

* updating path docs

* updating bool reference from config
2017-08-30 22:37:21 -04:00
Jeff Mitchell
c14d445de4 Bump go-plugin dep 2017-08-16 11:41:06 -04:00
Jeff Mitchell
27c2386f4a Add gcp auth backend (#3183) 2017-08-16 10:31:34 -04:00
Jeff Mitchell
542b5da8f2 Bump go-plugin version 2017-08-15 16:06:56 -04:00
Jeff Mitchell
f2f0082ba5 Sync go-plugin from upstream 2017-08-07 15:27:03 -04:00
Jeff Mitchell
02ebc5cc81 Update go-plugin to include go-hclog support 2017-08-05 15:34:57 -04:00
Jeff Mitchell
608322b546 Add PROXY protocol support (#3098) 2017-08-02 18:24:12 -04:00
Tony Cai
b3a505cb45 Update vendored library go-hdb (#3097) 2017-08-02 12:53:45 -04:00