mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
One more place we need a secret.
This commit is contained in:
parent
6ebf168bc2
commit
8a48aad07a
@ -84,6 +84,12 @@ var _ = framework.KubeDescribe("Service [Feature:Federation]", func() {
|
|||||||
ServerAddress: context.Cluster.Cluster.Server,
|
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)
|
_, err := f.FederationClientset.Federation().Clusters().Create(&cluster)
|
||||||
|
Loading…
Reference in New Issue
Block a user