One more place we need a secret.

pull/6/head
Matt Liggett 2016-06-10 15:53:47 -07:00
parent 6ebf168bc2
commit 8a48aad07a
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ var _ = framework.KubeDescribe("Service [Feature:Federation]", func() {
ServerAddress: context.Cluster.Cluster.Server,
},
},
SecretRef: &api.LocalObjectReference{
// Note: Name must correlate with federation build script secret name,
// which currently matches the cluster name.
// See federation/cluster/common.sh:132
Name: context.Name,
},
},
}
_, err := f.FederationClientset.Federation().Clusters().Create(&cluster)