mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
fix ingress path when validating webhook for ingress is in place while tests are running
This commit is contained in:
parent
e5ae3f8d67
commit
430b8e6981
@ -20,6 +20,7 @@ import (
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
||||
@ -634,7 +635,7 @@ var _ = common.SIGDescribe("Ingress API", func() {
|
||||
IngressRuleValue: networkingv1.IngressRuleValue{
|
||||
HTTP: &networkingv1.HTTPIngressRuleValue{
|
||||
Paths: []networkingv1.HTTPIngressPath{{
|
||||
Path: "/",
|
||||
Path: "/testpath/" + fmt.Sprintf("%08x", rand.Int31()),
|
||||
PathType: &prefixPathType,
|
||||
Backend: networkingv1.IngressBackend{
|
||||
Service: &networkingv1.IngressServiceBackend{
|
||||
|
Loading…
Reference in New Issue
Block a user