Merge pull request #27457 from mml/federation-service-secrets

One more place we need a secret.
This commit is contained in:
Daniel Smith 2016-06-15 15:40:34 -07:00 committed by GitHub
commit f9ae3a1a2a

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)