Skip to content

Commit a548bd6

Browse files
committed
fixed broken vault implementation
1 parent c3ba972 commit a548bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vault/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func authenticate(c *vaultapi.Client, authType string, params map[string]string)
9393
if err != nil {
9494
return err
9595
}
96-
secret, err = c.Logical().Write(url, map[string]interface{}{
96+
secret, err = c.Logical().Write("/auth/kubernetes/login", map[string]interface{}{
9797
"jwt": string(jwt[:]),
9898
"role": getParameter("role-id", params),
9999
})

0 commit comments

Comments
 (0)