mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
Heal the namespaceless ingresses in federation e2e.
This commit is contained in:
parent
dab787d80d
commit
08acdc9b71
@ -287,10 +287,10 @@ func createIngressOrFail(clientset *federation_release_1_4.Clientset, namespace
|
||||
},
|
||||
}
|
||||
|
||||
_, err := clientset.Extensions().Ingresses(namespace).Create(ingress)
|
||||
newIng, err := clientset.Extensions().Ingresses(namespace).Create(ingress)
|
||||
framework.ExpectNoError(err, "Creating ingress %q in namespace %q", ingress.Name, namespace)
|
||||
By(fmt.Sprintf("Successfully created federated ingress %q in namespace %q", FederatedIngressName, namespace))
|
||||
return ingress
|
||||
return newIng
|
||||
}
|
||||
|
||||
func updateIngressOrFail(clientset *federation_release_1_4.Clientset, namespace string) (newIng *v1beta1.Ingress) {
|
||||
|
Loading…
Reference in New Issue
Block a user