mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-07 19:23:40 +00:00
add a fake load balancer class to fix e2e test failure
This commit is contained in:
parent
f0b38766a0
commit
30ff937aaf
@ -3357,6 +3357,7 @@ var _ = common.SIGDescribe("Services", func() {
|
|||||||
Port: int32(80),
|
Port: int32(80),
|
||||||
TargetPort: intstr.FromInt(80),
|
TargetPort: intstr.FromInt(80),
|
||||||
}},
|
}},
|
||||||
|
LoadBalancerClass: utilpointer.String("example.com/internal-vip"),
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
_, err = cs.CoreV1().Services(ns).Create(ctx, &testService, metav1.CreateOptions{})
|
_, err = cs.CoreV1().Services(ns).Create(ctx, &testService, metav1.CreateOptions{})
|
||||||
|
Loading…
Reference in New Issue
Block a user