Merge pull request #8064 from deads2k/death-to-auth-path

eliminate auth-path
This commit is contained in:
Jeff Lowdermilk
2015-05-11 15:41:41 -07:00
74 changed files with 46 additions and 422 deletions

View File

@@ -306,7 +306,6 @@ func validateController(c *client.Client, containerImage string, replicas int, c
Failf("Timed out after %v seconds waiting for %s pods to reach valid state", podStartTimeout.Seconds(), testname)
}
// kubectlCmd runs the kubectl executable.
// kubectlCmd runs the kubectl executable.
func kubectlCmd(args ...string) *exec.Cmd {
defaultArgs := []string{}
@@ -324,7 +323,6 @@ func kubectlCmd(args ...string) *exec.Cmd {
}
} else {
defaultArgs = append(defaultArgs, "--"+clientcmd.FlagAuthPath+"="+testContext.AuthConfig)
if testContext.CertDir != "" {
defaultArgs = append(defaultArgs,
fmt.Sprintf("--certificate-authority=%s", filepath.Join(testContext.CertDir, "ca.crt")),