[Federation][init-11] Switch federation e2e tests to use the new federation control plane bootstrap via the kubefed init command.

This commit is contained in:
Madhusudan.C.S
2016-10-31 20:56:04 -07:00
committed by shashidharatd
parent e2a9fc1022
commit 5a7644c502
11 changed files with 88 additions and 35 deletions

View File

@@ -750,7 +750,7 @@ func (f *Framework) GetUnderlyingFederatedContexts() []E2EContext {
e2eContexts := []E2EContext{}
for _, context := range kubeconfig.Contexts {
if strings.HasPrefix(context.Name, "federation") && context.Name != "federation-cluster" {
if strings.HasPrefix(context.Name, "federation") && context.Name != federatedKubeContext {
user := kubeconfig.findUser(context.Context.User)
if user == nil {