Removing indirection from proxy exec test

I removed the netexec and goproxy pods from the proxy exec test. Instead
it now runs kubectl locally and the proxy is running in-process. Since
Go won't proxy for localhost requests, this test cannot pass if the API
server is local. However it was already disabled for local clusters.
This commit is contained in:
Kris
2016-05-17 14:56:27 -07:00
parent 2c471bce4e
commit f4cf45ee94
2 changed files with 28 additions and 214 deletions

View File

@@ -1615,6 +1615,11 @@ func NewKubectlCommand(args ...string) *kubectlBuilder {
return b
}
func (b *kubectlBuilder) WithEnv(env []string) *kubectlBuilder {
b.cmd.Env = env
return b
}
func (b *kubectlBuilder) WithTimeout(t <-chan time.Time) *kubectlBuilder {
b.timeout = t
return b