mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user