Adding test for cluster controller

This commit is contained in:
nikhiljindal
2016-06-13 15:19:57 -07:00
parent 9b2b763ab0
commit 5a20112ec4
2 changed files with 24 additions and 3 deletions

View File

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