mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #104917 from vinayakankugoyal/e2e
Skip externalips service tests if admission controller to deny externalip services is enabled.
This commit is contained in:
commit
6b21e064be
@ -1214,6 +1214,9 @@ var _ = common.SIGDescribe("Services", func() {
|
||||
{Port: 80, Name: "http", Protocol: v1.ProtocolTCP, TargetPort: intstr.FromInt(9376)},
|
||||
}
|
||||
})
|
||||
if err != nil && strings.Contains(err.Error(), "Use of external IPs is denied by admission control") {
|
||||
e2eskipper.Skipf("Admission controller to deny services with external IPs is enabled - skip.")
|
||||
}
|
||||
framework.ExpectNoError(err)
|
||||
err = jig.CreateServicePods(2)
|
||||
framework.ExpectNoError(err)
|
||||
|
Loading…
Reference in New Issue
Block a user