mirror of https://github.com/knative/client.git
upgrade to latest dependencies (#1716)
bumping knative.dev/serving bfa381a...fd833bc: > fd833bc Update net-kourier nightly (# 13196) > 698ac9e Update net-contour nightly (# 13194) > 9399fb2 Update net-gateway-api nightly (# 13195) > 16730b2 Fixes resource quota test flake (# 13181) > f77b15e Update net-gateway-api nightly (# 13190) > 19f508c Update net-kourier nightly (# 13187) > 838bbb0 Update net-istio nightly (# 13189) > abb923e Update net-contour nightly (# 13188) > 78ddf60 upgrade to latest dependencies (# 13186) > 725c38c Update net-kourier nightly (# 13184) > e9a0ce9 Update net-gateway-api nightly (# 13183) > e600ae7 Make Kingress reconciled with DomainMapping when adding a new label (# 13178) bumping knative.dev/pkg a01dfed...7b8b060: > 7b8b060 Add tracing.SetupDynamicPublishingWithInitialValue (# 2558) bumping knative.dev/eventing 15dd7ca...c884e27: > c884e27 Remove the filter restriction of only containing exactly one attribute (# 6477) > f7e8eef use go1.18 (# 6470) > d99685b Promote strict subscriber to beta (# 6473) > 5a8f707 Promote delivery timeout to beta (# 6472) > 840fce7 chore: update sugar controller ConfigMap example (# 6460) > 7e30288 Ignore trailing slashes for Broker addresses (# 6471) > 32dea96 update trace of apiserversource (# 6458) > 480c8cb Adds receiver options for configuring read and write timeouts message receiver (# 6306) > 37dc195 Port Pingsource test to rekt (# 6463) Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
parent
e918cd278c
commit
ebc672993a
6
go.mod
6
go.mod
|
|
@ -21,11 +21,11 @@ require (
|
|||
k8s.io/cli-runtime v0.23.4
|
||||
k8s.io/client-go v0.23.9
|
||||
k8s.io/code-generator v0.23.9
|
||||
knative.dev/eventing v0.33.1-0.20220728144837-15dd7ca8c811
|
||||
knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7
|
||||
knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3
|
||||
knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b
|
||||
knative.dev/pkg v0.0.0-20220802185824-a01dfedb0486
|
||||
knative.dev/serving v0.33.1-0.20220803152329-bfa381a72c6b
|
||||
knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f
|
||||
knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6
|
||||
sigs.k8s.io/yaml v1.3.0
|
||||
)
|
||||
|
||||
|
|
|
|||
12
go.sum
12
go.sum
|
|
@ -1318,16 +1318,16 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
|
|||
k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 h1:HNSDgDCrr/6Ly3WEGKZftiE7IY19Vz2GdbOCyI4qqhc=
|
||||
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
|
||||
knative.dev/eventing v0.33.1-0.20220728144837-15dd7ca8c811 h1:JO83M4YKP44eApBDQeEU8+DGuLwJjHbi8+9ZRnUQx+s=
|
||||
knative.dev/eventing v0.33.1-0.20220728144837-15dd7ca8c811/go.mod h1:rxOHyuk8ssl+ymaSpeA1ZsRJcG6gSlgje2+di6LoFmg=
|
||||
knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7 h1:jg9UrgsupzJnIFZOjgAS9FMD09ej213zcznYUH6s/IQ=
|
||||
knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7/go.mod h1:Un3zodfDFZVyXc64I4IVQtcpW7AIBvEspf9LixGqO3E=
|
||||
knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3 h1:1JsQ8ylMK+9yQfuxXvGBux+NOzvNLQyoyTXlupBrfHE=
|
||||
knative.dev/hack v0.0.0-20220728013938-9dabf7cf62e3/go.mod h1:t/azP8I/Cygaw+87O7rkAPrNRjCelmtfSzWzu/9TM7I=
|
||||
knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b h1:qxVG4TOwaPQi5ep5sWSK67xD0E85dGlLCOfrWtHINgs=
|
||||
knative.dev/networking v0.0.0-20220803115018-d2c739da1c1b/go.mod h1:wwhZW0N+qYb81ZsgDI/yxS1dwN+hoi++m01ft+HxG08=
|
||||
knative.dev/pkg v0.0.0-20220802185824-a01dfedb0486 h1:eWw7LtEIq2GjR9Z5Uw86BlVYyLh50ueJfcXV0SQiMWc=
|
||||
knative.dev/pkg v0.0.0-20220802185824-a01dfedb0486/go.mod h1:nBMKMJvyoaJdkpUrjwLVs/DwaP6d73R3UkXK6lblJyE=
|
||||
knative.dev/serving v0.33.1-0.20220803152329-bfa381a72c6b h1:4MTDVoeMQttGYPE7P8uNloctgo4xc+LFXEcKe7JifnE=
|
||||
knative.dev/serving v0.33.1-0.20220803152329-bfa381a72c6b/go.mod h1:7COCQVqcuxe7FN6Gds+NyT/Gs5bSl6OlNcHCKzZ1y2c=
|
||||
knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f h1:kW4K5SsjZ7qMzM8TCqHdDmpv0xKN4Jje4BXhDcByFUI=
|
||||
knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f/go.mod h1:nBMKMJvyoaJdkpUrjwLVs/DwaP6d73R3UkXK6lblJyE=
|
||||
knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6 h1:sly8jvp+SKeIuDDhipfRJ+7bKTiFcI2c0e7Q/YnoBHQ=
|
||||
knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6/go.mod h1:iA1F+M0tcAkwrPSgF5CSXs6L6VY5MAPDT/sKdmDGVQ4=
|
||||
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=
|
||||
|
|
|
|||
|
|
@ -168,22 +168,6 @@ func ValidateAttributesNames(attrs map[string]string) (errs *apis.FieldError) {
|
|||
return errs
|
||||
}
|
||||
|
||||
func ValidateSingleAttributeMap(expr map[string]string) (errs *apis.FieldError) {
|
||||
if len(expr) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
||||
if len(expr) != 1 {
|
||||
return apis.ErrGeneric("Multiple items found, can have only one key-value", apis.CurrentField)
|
||||
}
|
||||
for attr := range expr {
|
||||
if !validAttributeName.MatchString(attr) {
|
||||
errs = errs.Also(apis.ErrInvalidKeyName(attr, apis.CurrentField, "Attribute name must start with a letter and can only contain lowercase alphanumeric").ViaKey(attr))
|
||||
}
|
||||
}
|
||||
return errs
|
||||
}
|
||||
|
||||
func ValidateSubscriptionAPIFiltersList(ctx context.Context, filters []SubscriptionsAPIFilter) (errs *apis.FieldError) {
|
||||
if filters == nil || !feature.FromContext(ctx).IsEnabled(feature.NewTriggerFilters) {
|
||||
return nil
|
||||
|
|
@ -221,11 +205,11 @@ func ValidateSubscriptionAPIFilter(ctx context.Context, filter *SubscriptionsAPI
|
|||
errs = errs.Also(
|
||||
ValidateOneOf(filter),
|
||||
).Also(
|
||||
ValidateSingleAttributeMap(filter.Exact).ViaField("exact"),
|
||||
ValidateAttributesNames(filter.Exact).ViaField("exact"),
|
||||
).Also(
|
||||
ValidateSingleAttributeMap(filter.Prefix).ViaField("prefix"),
|
||||
ValidateAttributesNames(filter.Prefix).ViaField("prefix"),
|
||||
).Also(
|
||||
ValidateSingleAttributeMap(filter.Suffix).ViaField("suffix"),
|
||||
ValidateAttributesNames(filter.Suffix).ViaField("suffix"),
|
||||
).Also(
|
||||
ValidateSubscriptionAPIFiltersList(ctx, filter.All).ViaField("all"),
|
||||
).Also(
|
||||
|
|
|
|||
|
|
@ -90,10 +90,9 @@ type SubscriptionSpec struct {
|
|||
// etc.)
|
||||
Channel duckv1.KReference `json:"channel"`
|
||||
|
||||
// Subscriber is reference to (optional) function for processing events.
|
||||
// Subscriber is reference to function for processing events.
|
||||
// Events from the Channel will be delivered here and replies are
|
||||
// sent to a Destination as specified by the Reply.
|
||||
// +optional
|
||||
Subscriber *duckv1.Destination `json:"subscriber,omitempty"`
|
||||
|
||||
// Reply specifies (optionally) how to handle events returned from
|
||||
|
|
|
|||
|
|
@ -902,8 +902,8 @@ k8s.io/utils/lru
|
|||
k8s.io/utils/net
|
||||
k8s.io/utils/pointer
|
||||
k8s.io/utils/trace
|
||||
# knative.dev/eventing v0.33.1-0.20220728144837-15dd7ca8c811
|
||||
## explicit; go 1.17
|
||||
# knative.dev/eventing v0.33.1-0.20220809080920-c884e27795f7
|
||||
## explicit; go 1.18
|
||||
knative.dev/eventing/pkg/apis/config
|
||||
knative.dev/eventing/pkg/apis/duck
|
||||
knative.dev/eventing/pkg/apis/duck/v1
|
||||
|
|
@ -948,7 +948,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-20220802185824-a01dfedb0486
|
||||
# knative.dev/pkg v0.0.0-20220805012121-7b8b06028e4f
|
||||
## explicit; go 1.18
|
||||
knative.dev/pkg/apis
|
||||
knative.dev/pkg/apis/duck
|
||||
|
|
@ -998,7 +998,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.33.1-0.20220803152329-bfa381a72c6b
|
||||
# knative.dev/serving v0.33.1-0.20220808151524-fd833bc9c9f6
|
||||
## explicit; go 1.18
|
||||
knative.dev/serving/pkg/apis/autoscaling
|
||||
knative.dev/serving/pkg/apis/autoscaling/v1alpha1
|
||||
|
|
|
|||
Loading…
Reference in New Issue