From 2edbfef2098beb9ba88e466cf7e9e5615dce0215 Mon Sep 17 00:00:00 2001 From: "Matt Moore (via sockpuppet)" Date: Fri, 3 Jul 2020 14:09:33 +0000 Subject: [PATCH] [master] Auto-update dependencies Produced via: `./hack/update-deps.sh --upgrade && ./hack/update-codegen.sh` /assign grantr n3wscott /cc grantr n3wscott --- go.mod | 2 +- go.sum | 4 ++-- .../configs/v1alpha1/configmappropagation/reconciler.go | 3 +++ .../injection/reconciler/eventing/v1/broker/reconciler.go | 3 +++ .../injection/reconciler/eventing/v1/trigger/reconciler.go | 3 +++ .../reconciler/eventing/v1beta1/broker/reconciler.go | 3 +++ .../reconciler/eventing/v1beta1/eventtype/reconciler.go | 3 +++ .../reconciler/eventing/v1beta1/trigger/reconciler.go | 3 +++ .../injection/reconciler/flows/v1beta1/parallel/reconciler.go | 3 +++ .../injection/reconciler/flows/v1beta1/sequence/reconciler.go | 3 +++ .../injection/reconciler/messaging/v1/channel/reconciler.go | 3 +++ .../reconciler/messaging/v1/inmemorychannel/reconciler.go | 3 +++ .../reconciler/messaging/v1/subscription/reconciler.go | 3 +++ .../reconciler/messaging/v1beta1/channel/reconciler.go | 3 +++ .../messaging/v1beta1/inmemorychannel/reconciler.go | 3 +++ .../reconciler/messaging/v1beta1/subscription/reconciler.go | 3 +++ .../reconciler/sources/v1alpha2/apiserversource/reconciler.go | 3 +++ .../reconciler/sources/v1alpha2/containersource/reconciler.go | 3 +++ .../reconciler/sources/v1alpha2/pingsource/reconciler.go | 3 +++ .../injection/kube/reconciler/core/v1/namespace/reconciler.go | 3 +++ .../cmd/injection-gen/generators/reconciler_reconciler.go | 3 +++ vendor/modules.txt | 2 +- 22 files changed, 61 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index a701a45ca6f..5b6612e5793 100644 --- a/go.mod +++ b/go.mod @@ -39,7 +39,7 @@ require ( k8s.io/apiserver v0.17.6 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible k8s.io/utils v0.0.0-20200124190032-861946025e34 - knative.dev/pkg v0.0.0-20200630170034-2c1a029eb97f + knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0 knative.dev/test-infra v0.0.0-20200630141629-15f40fe97047 sigs.k8s.io/yaml v1.2.0 ) diff --git a/go.sum b/go.sum index 1ba232dbdb5..b5a3e767e74 100644 --- a/go.sum +++ b/go.sum @@ -1296,8 +1296,8 @@ k8s.io/utils v0.0.0-20200124190032-861946025e34/go.mod h1:sZAwmy6armz5eXlNoLmJcl knative.dev/caching v0.0.0-20200116200605-67bca2c83dfa/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= knative.dev/eventing-contrib v0.11.2/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= knative.dev/pkg v0.0.0-20200207155214-fef852970f43/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q= -knative.dev/pkg v0.0.0-20200630170034-2c1a029eb97f h1:Y3fmAKacNnQvPBK6Onnb0uC87roq/ypS8rYekfIdci8= -knative.dev/pkg v0.0.0-20200630170034-2c1a029eb97f/go.mod h1:7T15JzvjKXWnvIKcohz4brrsVq8jvwAcJwWY9xigAc0= +knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0 h1:+k2ADqygEgy5BIEahUUEgdY3LbQkaRxbObIO1ZjQswE= +knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0/go.mod h1:7T15JzvjKXWnvIKcohz4brrsVq8jvwAcJwWY9xigAc0= knative.dev/test-infra v0.0.0-20200630141629-15f40fe97047 h1:MLcIL0EGkvxRIXcrbPfBRKDVY4wNLVsNbilnZOfHmdk= knative.dev/test-infra v0.0.0-20200630141629-15f40fe97047/go.mod h1:30tMsI1VXrG2m4ut7CFZbLg1VbcRsslPfGU+GWILm6E= modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= diff --git a/pkg/client/injection/reconciler/configs/v1alpha1/configmappropagation/reconciler.go b/pkg/client/injection/reconciler/configs/v1alpha1/configmappropagation/reconciler.go index eb08db18496..c1a0215c96d 100644 --- a/pkg/client/injection/reconciler/configs/v1alpha1/configmappropagation/reconciler.go +++ b/pkg/client/injection/reconciler/configs/v1alpha1/configmappropagation/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/eventing/v1/broker/reconciler.go b/pkg/client/injection/reconciler/eventing/v1/broker/reconciler.go index 61ee9b00501..ed4d4dc7ea9 100644 --- a/pkg/client/injection/reconciler/eventing/v1/broker/reconciler.go +++ b/pkg/client/injection/reconciler/eventing/v1/broker/reconciler.go @@ -168,6 +168,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/eventing/v1/trigger/reconciler.go b/pkg/client/injection/reconciler/eventing/v1/trigger/reconciler.go index 9c308198026..86fa993e3c3 100644 --- a/pkg/client/injection/reconciler/eventing/v1/trigger/reconciler.go +++ b/pkg/client/injection/reconciler/eventing/v1/trigger/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/eventing/v1beta1/broker/reconciler.go b/pkg/client/injection/reconciler/eventing/v1beta1/broker/reconciler.go index 667ad1fd840..0d672b5af18 100644 --- a/pkg/client/injection/reconciler/eventing/v1beta1/broker/reconciler.go +++ b/pkg/client/injection/reconciler/eventing/v1beta1/broker/reconciler.go @@ -168,6 +168,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/eventing/v1beta1/eventtype/reconciler.go b/pkg/client/injection/reconciler/eventing/v1beta1/eventtype/reconciler.go index 63af6cba439..60d3945f6ee 100644 --- a/pkg/client/injection/reconciler/eventing/v1beta1/eventtype/reconciler.go +++ b/pkg/client/injection/reconciler/eventing/v1beta1/eventtype/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/eventing/v1beta1/trigger/reconciler.go b/pkg/client/injection/reconciler/eventing/v1beta1/trigger/reconciler.go index 9dd412d2f09..fd4e27c2e44 100644 --- a/pkg/client/injection/reconciler/eventing/v1beta1/trigger/reconciler.go +++ b/pkg/client/injection/reconciler/eventing/v1beta1/trigger/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/flows/v1beta1/parallel/reconciler.go b/pkg/client/injection/reconciler/flows/v1beta1/parallel/reconciler.go index 7f10f6fd7ae..27e45fc29da 100644 --- a/pkg/client/injection/reconciler/flows/v1beta1/parallel/reconciler.go +++ b/pkg/client/injection/reconciler/flows/v1beta1/parallel/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/flows/v1beta1/sequence/reconciler.go b/pkg/client/injection/reconciler/flows/v1beta1/sequence/reconciler.go index ee9424bbfdd..f39e795b070 100644 --- a/pkg/client/injection/reconciler/flows/v1beta1/sequence/reconciler.go +++ b/pkg/client/injection/reconciler/flows/v1beta1/sequence/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1/channel/reconciler.go b/pkg/client/injection/reconciler/messaging/v1/channel/reconciler.go index 7c043d2139c..f0213b521e4 100644 --- a/pkg/client/injection/reconciler/messaging/v1/channel/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1/channel/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1/inmemorychannel/reconciler.go b/pkg/client/injection/reconciler/messaging/v1/inmemorychannel/reconciler.go index 778a8e03b90..778d16d2e97 100644 --- a/pkg/client/injection/reconciler/messaging/v1/inmemorychannel/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1/inmemorychannel/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1/subscription/reconciler.go b/pkg/client/injection/reconciler/messaging/v1/subscription/reconciler.go index d093f86c167..2ae66cd8518 100644 --- a/pkg/client/injection/reconciler/messaging/v1/subscription/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1/subscription/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1beta1/channel/reconciler.go b/pkg/client/injection/reconciler/messaging/v1beta1/channel/reconciler.go index ee85851e057..81ff71a86af 100644 --- a/pkg/client/injection/reconciler/messaging/v1beta1/channel/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1beta1/channel/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1beta1/inmemorychannel/reconciler.go b/pkg/client/injection/reconciler/messaging/v1beta1/inmemorychannel/reconciler.go index 9c2d78163c0..a9843fcdd03 100644 --- a/pkg/client/injection/reconciler/messaging/v1beta1/inmemorychannel/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1beta1/inmemorychannel/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/messaging/v1beta1/subscription/reconciler.go b/pkg/client/injection/reconciler/messaging/v1beta1/subscription/reconciler.go index ac771491551..072d908ae9e 100644 --- a/pkg/client/injection/reconciler/messaging/v1beta1/subscription/reconciler.go +++ b/pkg/client/injection/reconciler/messaging/v1beta1/subscription/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/sources/v1alpha2/apiserversource/reconciler.go b/pkg/client/injection/reconciler/sources/v1alpha2/apiserversource/reconciler.go index ce9bde0ee55..911d85c1c6e 100644 --- a/pkg/client/injection/reconciler/sources/v1alpha2/apiserversource/reconciler.go +++ b/pkg/client/injection/reconciler/sources/v1alpha2/apiserversource/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/sources/v1alpha2/containersource/reconciler.go b/pkg/client/injection/reconciler/sources/v1alpha2/containersource/reconciler.go index 3ceeb9501a9..198dbca5f54 100644 --- a/pkg/client/injection/reconciler/sources/v1alpha2/containersource/reconciler.go +++ b/pkg/client/injection/reconciler/sources/v1alpha2/containersource/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/pkg/client/injection/reconciler/sources/v1alpha2/pingsource/reconciler.go b/pkg/client/injection/reconciler/sources/v1alpha2/pingsource/reconciler.go index c362c013db2..61ba2cf4c72 100644 --- a/pkg/client/injection/reconciler/sources/v1alpha2/pingsource/reconciler.go +++ b/pkg/client/injection/reconciler/sources/v1alpha2/pingsource/reconciler.go @@ -164,6 +164,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client versio if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/vendor/knative.dev/pkg/client/injection/kube/reconciler/core/v1/namespace/reconciler.go b/vendor/knative.dev/pkg/client/injection/kube/reconciler/core/v1/namespace/reconciler.go index 2d116f8e5f6..5a949aa236d 100644 --- a/vendor/knative.dev/pkg/client/injection/kube/reconciler/core/v1/namespace/reconciler.go +++ b/vendor/knative.dev/pkg/client/injection/kube/reconciler/core/v1/namespace/reconciler.go @@ -163,6 +163,9 @@ func NewReconciler(ctx context.Context, logger *zap.SugaredLogger, client kubern if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/vendor/knative.dev/pkg/codegen/cmd/injection-gen/generators/reconciler_reconciler.go b/vendor/knative.dev/pkg/codegen/cmd/injection-gen/generators/reconciler_reconciler.go index a32ce177d1f..e3d24a00d9b 100644 --- a/vendor/knative.dev/pkg/codegen/cmd/injection-gen/generators/reconciler_reconciler.go +++ b/vendor/knative.dev/pkg/codegen/cmd/injection-gen/generators/reconciler_reconciler.go @@ -318,6 +318,9 @@ func NewReconciler(ctx {{.contextContext|raw}}, logger *{{.zapSugaredLogger|raw} if opts.FinalizerName != "" { rec.finalizerName = opts.FinalizerName } + if opts.SkipStatusUpdates { + rec.skipStatusUpdates = true + } } return rec diff --git a/vendor/modules.txt b/vendor/modules.txt index efaa876ab07..a2a4947d611 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -945,7 +945,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/pkg v0.0.0-20200630170034-2c1a029eb97f +# knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0 ## explicit knative.dev/pkg/apiextensions/storageversion knative.dev/pkg/apiextensions/storageversion/cmd/migrate