diff --git a/go.mod b/go.mod index dc37498b9..342f5c146 100644 --- a/go.mod +++ b/go.mod @@ -20,11 +20,11 @@ require ( k8s.io/cli-runtime v0.24.4 k8s.io/client-go v0.25.2 k8s.io/code-generator v0.25.2 - knative.dev/eventing v0.34.1-0.20221010083935-56e9ee13b301 + knative.dev/eventing v0.34.1-0.20221011150150-2899fcef641f knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035 - knative.dev/pkg v0.0.0-20221010143036-21d3b47e2efe - knative.dev/serving v0.34.1-0.20221010213350-636e12161662 + knative.dev/pkg v0.0.0-20221011175852-714b7630a836 + knative.dev/serving v0.34.1-0.20221011230550-3ac6d4a5e660 sigs.k8s.io/yaml v1.3.0 ) diff --git a/go.sum b/go.sum index 255cf8c03..8834b1fb3 100644 --- a/go.sum +++ b/go.sum @@ -1222,16 +1222,16 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed h1:jAne/RjBTyawwAy0utX5eqigAwz/lQhTmy+Hr/Cpue4= k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= -knative.dev/eventing v0.34.1-0.20221010083935-56e9ee13b301 h1:4C1AYI1N5yugf/20yn1eErTRE2L0IwwUzOZQ7qEnV08= -knative.dev/eventing v0.34.1-0.20221010083935-56e9ee13b301/go.mod h1:KTyxEUhiRMbAUTPIscPDEYmCjXSXc0gHD+gQciefuGg= +knative.dev/eventing v0.34.1-0.20221011150150-2899fcef641f h1:2wYsoB40ReW1+h4uA0wBRtK3wMNCdk1b0FOw1XdEVR8= +knative.dev/eventing v0.34.1-0.20221011150150-2899fcef641f/go.mod h1:HF9K/jJBKHH1hmYN7vNLMrFsuW3WhMK2DsEjs7YMM/c= knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a h1:yfq1OMrkyYkxDeM0pmAOeN4YF16R/WG0C+VvLBeq4uc= knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q= knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035 h1:OOw/KMAKITv3godQbwzT617mjJGYiNuRQxPGpjqwHkE= knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035/go.mod h1:ySkvDWiPZ0QD6H5GlYxOgUI782Fv2vLkyQRXCr4wkrQ= -knative.dev/pkg v0.0.0-20221010143036-21d3b47e2efe h1:mlyaEOLotR3ma5hIN4XP/KE3/SeQvJa6hNd2BNYg2U4= -knative.dev/pkg v0.0.0-20221010143036-21d3b47e2efe/go.mod h1:8MLQO2NWHa+1GhEUlogKfOEkyh2T2EWgfSayCA0q2gc= -knative.dev/serving v0.34.1-0.20221010213350-636e12161662 h1:9KTtuPDKmy6SSjdJJ0GxtyFtyxqQUth730h4ZPVnYj8= -knative.dev/serving v0.34.1-0.20221010213350-636e12161662/go.mod h1:ER6NpJWxr9ovyBpwAmVFeoKs70aJ+iz3ex+rneYkBXM= +knative.dev/pkg v0.0.0-20221011175852-714b7630a836 h1:0N7Zo/O+xeUUebJPm9keBaGclrUoEbljr3J1MsqtaIM= +knative.dev/pkg v0.0.0-20221011175852-714b7630a836/go.mod h1:DMTRDJ5WRxf/DrlOPzohzfhSuJggscLZ8EavOq9O/x8= +knative.dev/serving v0.34.1-0.20221011230550-3ac6d4a5e660 h1:u5tr7GoTcKoUIggGZn5WQHYTJVlPhUPagIvoGc87/5Q= +knative.dev/serving v0.34.1-0.20221011230550-3ac6d4a5e660/go.mod h1:t3mvgJKWSOcwiVkPpzpJnWErTwMhgSpab4w9hDCqnCg= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/vendor/knative.dev/serving/test/e2e_flags.go b/vendor/knative.dev/serving/test/e2e_flags.go index 10cb0bd02..c714dfa3e 100644 --- a/vendor/knative.dev/serving/test/e2e_flags.go +++ b/vendor/knative.dev/serving/test/e2e_flags.go @@ -49,6 +49,10 @@ type ServingEnvironmentFlags struct { ExceedingMemoryLimitSize int // Memory size used to trigger a non-200 response when the service is set with 300MB memory limit. RequestHeaders string // Extra HTTP request headers sent to the testing deployed KServices. IngressClass string // Ingress class used for serving. + CustomMemoryRequests string // Memory requests used for services with a specific size. + CustomMemoryLimits string // Memory limits used for services with a specific size. + CustomCPURequests string // CPU requests used for services with a specific size. + CustomCPULimits string // CPU limits used for services with a specific size. } func initializeServingFlags() *ServingEnvironmentFlags { @@ -102,6 +106,22 @@ func initializeServingFlags() *ServingEnvironmentFlags { flag.StringVar(&f.IngressClass, "ingress-class", "", "Set the ingress class in use to this flag in order to skip non-compatible test") + + flag.StringVar(&f.CustomMemoryRequests, "custom-memory-requests", "", + "Set this flag to the custom memory request for tests with specific memory request values."+ + "This should differ from what is used as default. The flag accepts a value acceptable to resource.MustParse.") + + flag.StringVar(&f.CustomMemoryLimits, "custom-memory-limits", "", + "Set this flag to the custom memory limit for tests with specific memory limit values."+ + "This should differ from what is used as default. The flag accepts a value acceptable to resource.MustParse.") + + flag.StringVar(&f.CustomCPURequests, "custom-cpu-requests", "", + "Set this flag to the custom cpu request for tests with specific cpu request values."+ + "This should differ from what is used as default. The flag accepts a value acceptable to resource.MustParse.") + + flag.StringVar(&f.CustomCPULimits, "custom-cpu-limits", "", + "Set this flag to the custom cpu limit for tests with specific cpu limit values."+ + "This should differ from what is used as default. The flag accepts a value acceptable to resource.MustParse.") return &f } diff --git a/vendor/modules.txt b/vendor/modules.txt index 67dda462d..251357e4c 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -924,7 +924,7 @@ k8s.io/utils/net k8s.io/utils/pointer k8s.io/utils/strings/slices k8s.io/utils/trace -# knative.dev/eventing v0.34.1-0.20221010083935-56e9ee13b301 +# knative.dev/eventing v0.34.1-0.20221011150150-2899fcef641f ## explicit; go 1.18 knative.dev/eventing/pkg/apis/config knative.dev/eventing/pkg/apis/duck @@ -970,7 +970,7 @@ knative.dev/networking/pkg/http/probe knative.dev/networking/pkg/http/proxy knative.dev/networking/pkg/http/stats knative.dev/networking/pkg/k8s -# knative.dev/pkg v0.0.0-20221010143036-21d3b47e2efe +# knative.dev/pkg v0.0.0-20221011175852-714b7630a836 ## explicit; go 1.18 knative.dev/pkg/apis knative.dev/pkg/apis/duck @@ -1020,7 +1020,7 @@ knative.dev/pkg/tracing/config knative.dev/pkg/tracing/propagation knative.dev/pkg/tracing/propagation/tracecontextb3 knative.dev/pkg/tracker -# knative.dev/serving v0.34.1-0.20221010213350-636e12161662 +# knative.dev/serving v0.34.1-0.20221011230550-3ac6d4a5e660 ## explicit; go 1.18 knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1