8000 feat(hachery/k8s): auth parsing to hatchery-k8s (#3961) · ovh/cds@1e8a003 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 1e8a003

Browse files
tzilistyesnault
authored andcommitted
feat(hachery/k8s): auth parsing to hatchery-k8s (#3961)
Adds the auth parsing to the k8s go-client so user's who are using hosted solutions can use the `kubeconfig.yaml` files! NOTE: I haven't actually tested this, just added this in from lots and lots of reading! :)
1 parent 3c62767 commit 1e8a003

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

engine/hatchery/kubernetes/kubernetes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"k8s.io/client-go/kubernetes"
1818
"k8s.io/client-go/rest"
1919
"k8s.io/client-go/tools/clientcmd"
20+
_ "k8s.io/client-go/plugin/pkg/client/auth"
2021
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
2122

2223
"github.com/ovh/cds/engine/api"

0 commit comments

Comments
 (0)
0