upgrade to latest dependencies (#1523)

bumping knative.dev/eventing bd67450...4d6e1fc:
  > 4d6e1fc Change subscription patch logic to ensure resource version (# 6670)
  > 74e165a APIServerSource with selector to target namespaces (# 6665)
  > 1f9f4d3 Log stream from system namespace in upgrade tests (# 6699)
  > 466d123 Fix reconciler-tests Prow job (# 6694)
bumping knative.dev/client 2a124bd...df40f5a:
  > df40f5a upgrade to latest dependencies (# 1770)
bumping knative.dev/serving 2215dfe...484e848:
  > 484e848 upgrade to latest dependencies (# 13646)
  > 1e27b7a Update net-contour nightly (# 13643)
  > 43af7f1 Update net-istio nightly (# 13644)
  > eb96c59 Update net-kourier nightly (# 13641)
  > 412cf1c Update net-certmanager nightly (# 13640)

Signed-off-by: Knative Automation <automation@knative.team>
This commit is contained in:
knative-automation 2023-01-27 10:13:41 -05:00 committed by GitHub
parent 0f5b93fa96
commit 396669d270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 30 additions and 12 deletions

6
go.mod
View File

@ -46,11 +46,11 @@ require (
k8s.io/apimachinery v0.25.4
k8s.io/client-go v1.5.2
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 // indirect
knative.dev/client v0.34.1-0.20230124051738-2a124bdc26fa
knative.dev/eventing v0.35.1-0.20230124081938-bd674502e6b8
knative.dev/client v0.36.0
knative.dev/eventing v0.36.0
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d
knative.dev/serving v0.35.1-0.20230124130538-2215dfe2a0a5
knative.dev/serving v0.36.0
)
require github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06

12
go.sum
View File

@ -2520,18 +2520,18 @@ k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8=
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/client v0.34.1-0.20230124051738-2a124bdc26fa h1:LB1jFCQK4OiVTew2kzXVpC6zI0OPTD7P++5SaZBt6NE=
knative.dev/client v0.34.1-0.20230124051738-2a124bdc26fa/go.mod h1:JpOrWByvDs3t9HQnghdd3BT10lJKgKI/n0IupiMTS64=
knative.dev/eventing v0.35.1-0.20230124081938-bd674502e6b8 h1:Kkdh5EWgWPy4JLbIGpW6Y5aeKdTMX/kC6YSWXj1pOyw=
knative.dev/eventing v0.35.1-0.20230124081938-bd674502e6b8/go.mod h1:PqYrXKXhZU7rQaS5TQuZDSOd9jPX7AegF8uNNUY4kcU=
knative.dev/client v0.36.0 h1:oYg0MN66PEHU0444jX79cYi856o9Y2Rx+HE92FSJ6zk=
knative.dev/client v0.36.0/go.mod h1:40s6w3umxFvxqvqYgjNLdylP80NVSkUMmSgLQSkJsmw=
knative.dev/eventing v0.36.0 h1:a7kamc2S+LcpNMDX3llnwZm+DqMcYSXgKIgJXdaQQSY=
knative.dev/eventing v0.36.0/go.mod h1:Qka5Z6+LeMoHGL1QAznVdmq5LAu21b4F3rgxc2AMgRg=
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9 h1:CDa7s9KspEZqPhk7cN68ZypRLuAvSgr+knoOaXSsrHk=
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560 h1:iprdS5tKTXtgV9dGryuwJJJTTdl5LusCHOelKdezR3I=
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560/go.mod h1:rn1yRurhkxmSFkpqs/YdG7b9DiYj0VlmLFzBdOQjpOo=
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d h1:pjKDcvHoMib8nRp56eISRmMj/pFMzJljnzvMvGCIReI=
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d/go.mod h1:VO/fcEsq43seuONRQxZyftWHjpMabYzRHDtpSEQ/eoQ=
knative.dev/serving v0.35.1-0.20230124130538-2215dfe2a0a5 h1:QgjMDR/2RqjiPXWHWevbQRhMrHz5g1yqFQps7iEhUvA=
knative.dev/serving v0.35.1-0.20230124130538-2215dfe2a0a5/go.mod h1:WdVK1b42aahKc8WewW5YLPjp46QK4+D8R9lq3PNuRYg=
knative.dev/serving v0.36.0 h1:RSYDjxhzOx5rnlW9tNPcBPyJyNuOcZuYEMdKDR1r04k=
knative.dev/serving v0.36.0/go.mod h1:ueqMvTqzZE0GFfPqSsc+ZjX20Z8XxCuX86+S+TI7B3A=
modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=

View File

@ -80,6 +80,11 @@ type ApiServerSourceSpec struct {
// source. Defaults to default if not set.
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty"`
// NamespaceSelector is a label selector to capture the namespaces that
// should be watched by the source.
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
}
// ApiServerSourceStatus defines the observed state of ApiServerSource
@ -92,6 +97,9 @@ type ApiServerSourceStatus struct {
// * SinkURI - the current active sink URI that has been configured for the
// Source.
duckv1.SourceStatus `json:",inline"`
// Namespaces show the namespaces currently watched by the ApiServerSource
Namespaces []string `json:"namespaces"`
}
// APIVersionKind is an APIVersion and Kind tuple.

View File

@ -140,6 +140,11 @@ func (in *ApiServerSourceSpec) DeepCopyInto(out *ApiServerSourceSpec) {
*out = new(APIVersionKind)
**out = **in
}
if in.NamespaceSelector != nil {
in, out := &in.NamespaceSelector, &out.NamespaceSelector
*out = new(metav1.LabelSelector)
(*in).DeepCopyInto(*out)
}
return
}
@ -157,6 +162,11 @@ func (in *ApiServerSourceSpec) DeepCopy() *ApiServerSourceSpec {
func (in *ApiServerSourceStatus) DeepCopyInto(out *ApiServerSourceStatus) {
*out = *in
in.SourceStatus.DeepCopyInto(&out.SourceStatus)
if in.Namespaces != nil {
in, out := &in.Namespaces, &out.Namespaces
*out = make([]string, len(*in))
copy(*out, *in)
}
return
}

6
vendor/modules.txt vendored
View File

@ -1637,7 +1637,7 @@ k8s.io/utils/net
k8s.io/utils/pointer
k8s.io/utils/strings/slices
k8s.io/utils/trace
# knative.dev/client v0.34.1-0.20230124051738-2a124bdc26fa
# knative.dev/client v0.36.0
## explicit; go 1.18
knative.dev/client/lib/test
knative.dev/client/pkg/apis/client
@ -1653,7 +1653,7 @@ knative.dev/client/pkg/serving/v1
knative.dev/client/pkg/util
knative.dev/client/pkg/util/mock
knative.dev/client/pkg/wait
# knative.dev/eventing v0.35.1-0.20230124081938-bd674502e6b8
# knative.dev/eventing v0.36.0
## explicit; go 1.18
knative.dev/eventing/pkg/apis/config
knative.dev/eventing/pkg/apis/duck
@ -1730,7 +1730,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.35.1-0.20230124130538-2215dfe2a0a5
# knative.dev/serving v0.36.0
## explicit; go 1.18
knative.dev/serving/pkg/apis/autoscaling
knative.dev/serving/pkg/apis/autoscaling/v1alpha1