Merge pull request #782 from mootpt/add-client-auth-plugins

add kubernetes client auth plugins
This commit is contained in:
Matthew Fisher 2018-05-24 12:02:07 -07:00 коммит произвёл GitHub
Родитель cc40315296 e99022a144
Коммит 7502193d34
2 изменённых файлов: 56 добавлений и 1 удалений

56
Gopkg.lock сгенерированный
Просмотреть файл

@ -1,6 +1,12 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "cloud.google.com/go"
packages = ["compute/metadata"]
revision = "0fd7230b2a7505833d5f69b75cbd6c9582401479"
version = "v0.23.0"
[[projects]]
name = "github.com/Azure/azure-pipeline-go"
packages = ["pipeline"]
@ -389,6 +395,20 @@
revision = "ee43cbb60db7bd22502942cccbc39059117352ab"
version = "v0.1.0"
[[projects]]
branch = "master"
name = "github.com/gophercloud/gophercloud"
packages = [
".",
"openstack",
"openstack/identity/v2/tenants",
"openstack/identity/v2/tokens",
"openstack/identity/v3/tokens",
"openstack/utils",
"pagination"
]
revision = "282f25e4025de0a42015d2e2b5faef1d920aad3c"
[[projects]]
name = "github.com/gorilla/context"
packages = ["."]
@ -706,6 +726,18 @@
]
revision = "0ed95abb35c445290478a5348a7b38bb154135fd"
[[projects]]
branch = "master"
name = "golang.org/x/oauth2"
packages = [
".",
"google",
"internal",
"jws",
"jwt"
]
revision = "770e5ebd4ab27c4d70b0983674d138217f5e2c72"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
@ -749,6 +781,23 @@
packages = ["rate"]
revision = "6dc17368e09b0e8634d71cac8168d853e869a0c7"
[[projects]]
name = "google.golang.org/appengine"
packages = [
".",
"internal",
"internal/app_identity",
"internal/base",
"internal/datastore",
"internal/log",
"internal/modules",
"internal/remote_api",
"internal/urlfetch",
"urlfetch"
]
revision = "150dc57a1b433e64154302bdc40b6bb8aefa313a"
version = "v1.0.0"
[[projects]]
branch = "master"
name = "google.golang.org/genproto"
@ -1038,7 +1087,12 @@
"pkg/apis/clientauthentication",
"pkg/apis/clientauthentication/v1alpha1",
"pkg/version",
"plugin/pkg/client/auth",
"plugin/pkg/client/auth/azure",
"plugin/pkg/client/auth/exec",
"plugin/pkg/client/auth/gcp",
"plugin/pkg/client/auth/oidc",
"plugin/pkg/client/auth/openstack",
"rest",
"rest/watch",
"scale",
@ -1296,6 +1350,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "b7a0748890d10737fa30026a7eca0697c2ad9741a29c9bc47c5a5b6e4383c5cb"
inputs-digest = "276dc700632fb99aa5d595805ea550a1b3b43f02ee97e03b08f1412893854186"
solver-name = "gps-cdcl"
solver-version = 1

Просмотреть файл

@ -14,6 +14,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"k8s.io/client-go/kubernetes"
_ "k8s.io/client-go/plugin/pkg/client/auth"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
"k8s.io/helm/pkg/helm"