From 267e9295531198ce0449a3a2fd4f4b75ffc231eb Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Tue, 24 Jul 2018 22:19:38 -0400 Subject: [PATCH] Update plugins --- .../hashicorp/vault-plugin-auth-kubernetes/token_review.go | 1 + vendor/vendor.json | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/vendor/github.com/hashicorp/vault-plugin-auth-kubernetes/token_review.go b/vendor/github.com/hashicorp/vault-plugin-auth-kubernetes/token_review.go index d1b24a5825..79d291f7ca 100644 --- a/vendor/github.com/hashicorp/vault-plugin-auth-kubernetes/token_review.go +++ b/vendor/github.com/hashicorp/vault-plugin-auth-kubernetes/token_review.go @@ -85,6 +85,7 @@ func (t *tokenReviewAPI) Review(jwt string) (*tokenReviewResult, error) { if len(t.config.TokenReviewerJWT) > 0 { bearer = fmt.Sprintf("Bearer %s", t.config.TokenReviewerJWT) } + bearer = strings.TrimSpace(bearer) // Set the JWT as the Bearer token req.Header.Set("Authorization", bearer) diff --git a/vendor/vendor.json b/vendor/vendor.json index 542dc3bd3f..6c92087d08 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1321,10 +1321,10 @@ "revisionTime": "2018-07-10T15:13:41Z" }, { - "checksumSHA1": "L5pDwOw2/MLLUSykrwxXbXQI7zI=", + "checksumSHA1": "GAsPitFJRlzOg7kkQVKWksOY5bM=", "path": "github.com/hashicorp/vault-plugin-auth-kubernetes", - "revision": "7ca24869a5b9c9e308c475a21c9ce1331734120e", - "revisionTime": "2018-06-19T23:09:39Z" + "revision": "79458d2576b21c11a9482f0a16074bcb1b657e7f", + "revisionTime": "2018-07-23T17:26:15Z" }, { "checksumSHA1": "kGEaf6lxGWkJibW4Dto2wFDXrfY=",