Skip to content

Commit d81b08e

Browse files
piyush-gargchmouel
authored andcommitted
Bump tektoncd/pipeline to v0.53.0
This willl bump tektoncd/pipeline to v0.53.0 and also respective k8s and knative dep bump to make it sync with pipeline
1 parent adfd2fc commit d81b08e

File tree

413 files changed

+47653
-23284
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

413 files changed

+47653
-23284
lines changed

go.mod

Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require (
2626
github.com/pkg/errors v0.9.1
2727
github.com/spf13/cobra v1.7.0
2828
github.com/stretchr/testify v1.8.4
29-
github.com/tektoncd/pipeline v0.52.1
29+
github.com/tektoncd/pipeline v0.53.0
3030
github.com/xanzy/go-gitlab v0.93.1
3131
go.opencensus.io v0.24.0
3232
go.uber.org/zap v1.26.0
@@ -45,47 +45,36 @@ require (
4545
sigs.k8s.io/yaml v1.3.0
4646
)
4747

48-
require (
49-
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect
50-
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1 // indirect
51-
github.com/cloudflare/circl v1.3.3 // indirect
52-
github.com/davidmz/go-pageant v1.0.2 // indirect
53-
github.com/go-fed/httpsig v1.1.0 // indirect
54-
github.com/google/gnostic v0.7.0 // indirect
55-
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
56-
github.com/google/pprof v0.0.0-20230111200839-76d1ae5aea2b // indirect
57-
github.com/pmezard/go-difflib v1.0.0 // indirect
58-
go.uber.org/atomic v1.11.0 // indirect
59-
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a // indirect
60-
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
61-
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
62-
)
63-
6448
replace (
65-
k8s.io/api => k8s.io/api v0.25.9
66-
k8s.io/apimachinery => k8s.io/apimachinery v0.26.5
67-
k8s.io/client-go => k8s.io/client-go v0.25.9
68-
k8s.io/code-generator => k8s.io/code-generator v0.25.9
49+
k8s.io/api => k8s.io/api v0.26.7
50+
k8s.io/apimachinery => k8s.io/apimachinery v0.26.7
51+
k8s.io/client-go => k8s.io/client-go v0.26.7
52+
k8s.io/code-generator => k8s.io/code-generator v0.26.7
6953
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230515203736-54b630e78af5
70-
knative.dev/pkg => knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0
54+
knative.dev/pkg => knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7
7155
)
7256

7357
require (
7458
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect
7559
contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect
7660
contrib.go.opencensus.io/exporter/zipkin v0.1.2 // indirect
61+
github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c // indirect
7762
github.com/PuerkitoBio/goquery v1.8.1 // indirect
7863
github.com/andybalholm/cascadia v1.3.2 // indirect
64+
github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230321174746-8dcc6526cfb1 // indirect
7965
github.com/beorn7/perks v1.0.1 // indirect
8066
github.com/blang/semver/v4 v4.0.0 // indirect
8167
github.com/blendle/zapdriver v1.3.1 // indirect
8268
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect
8369
github.com/cespare/xxhash/v2 v2.2.0 // indirect
8470
github.com/cloudevents/sdk-go/observability/opencensus/v2 v2.14.0 // indirect
71+
github.com/cloudflare/circl v1.3.3 // indirect
8572
github.com/davecgh/go-spew v1.1.1 // indirect
73+
github.com/davidmz/go-pageant v1.0.2 // indirect
8674
github.com/emicklei/go-restful/v3 v3.11.0 // indirect
8775
github.com/evanphx/json-patch v5.7.0+incompatible // indirect
8876
github.com/evanphx/json-patch/v5 v5.7.0 // indirect
77+
github.com/go-fed/httpsig v1.1.0 // indirect
8978
github.com/go-kit/log v0.2.1 // indirect
9079
github.com/go-logfmt/logfmt v0.6.0 // indirect
9180
github.com/go-logr/logr v1.2.4 // indirect
@@ -96,9 +85,12 @@ require (
9685
github.com/golang-jwt/jwt/v4 v4.5.0
9786
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
9887
github.com/golang/protobuf v1.5.3 // indirect
88+
github.com/google/gnostic v0.7.0 // indirect
89+
github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect
9990
github.com/google/go-containerregistry v0.16.1 // indirect
10091
github.com/google/go-querystring v1.1.0 // indirect
10192
github.com/google/gofuzz v1.2.0 // indirect
93+
github.com/google/pprof v0.0.0-20230111200839-76d1ae5aea2b // indirect
10294
github.com/google/uuid v1.3.1 // indirect
10395
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
10496
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -121,6 +113,7 @@ require (
121113
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
122114
github.com/opencontainers/go-digest v1.0.0 // indirect
123115
github.com/openzipkin/zipkin-go v0.4.2 // indirect
116+
github.com/pmezard/go-difflib v1.0.0 // indirect
124117
github.com/prometheus/client_golang v1.17.0 // indirect
125118
github.com/prometheus/client_model v0.5.0 // indirect
126119
github.com/prometheus/common v0.44.0 // indirect
@@ -130,6 +123,7 @@ require (
130123
github.com/spf13/pflag v1.0.5 // indirect
131124
github.com/stoewer/go-strcase v1.3.0 // indirect
132125
github.com/xlzd/gotp v0.1.0 // indirect
126+
go.uber.org/atomic v1.11.0 // indirect
133127
go.uber.org/automaxprocs v1.5.3 // indirect
134128
go.uber.org/multierr v1.11.0 // indirect
135129
golang.org/x/crypto v0.14.0 // indirect
@@ -140,12 +134,15 @@ require (
140134
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
141135
google.golang.org/api v0.147.0 // indirect
142136
google.golang.org/appengine v1.6.8 // indirect
137+
google.golang.org/genproto/googleapis/api v0.0.0-20231012201019-e917dd12ba7a // indirect
138+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231012201019-e917dd12ba7a // indirect
143139
google.golang.org/grpc v1.58.3 // indirect
144140
google.golang.org/protobuf v1.31.0
145141
gopkg.in/inf.v0 v0.9.1 // indirect
146142
gopkg.in/yaml.v3 v3.0.1
147143
k8s.io/apiextensions-apiserver v0.28.2 // indirect
148144
k8s.io/klog/v2 v2.100.1
145+
k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 // indirect
149146
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect
150147
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect
151148
)

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,8 +1150,8 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o
11501150
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
11511151
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
11521152
github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxmlfBCDBXRzr0eAQJ48XC1hBu1np4CS5+cHEYfwpc=
1153-
github.com/tektoncd/pipeline v0.52.1 h1:YN9S/4hRutKQeG5na03V7et8B3hoEUCoWoABU8t8P3c=
1154-
github.com/tektoncd/pipeline v0.52.1/go.mod h1:27wryvb8VIPIZ2u5evUphOPgM8Z7hGgzp00E8/3DCls=
1153+
github.com/tektoncd/pipeline v0.53.0 h1:PRgIrOKelWKyj6JZ+/ftGKJZ9lyGeq5+y0UR7runCG0=
1154+
github.com/tektoncd/pipeline v0.53.0/go.mod h1:tO7iI+L4+kO+CrAYiM9FlXQYveyjyMDCYmy+7VLiwjk=
11551155
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
11561156
github.com/xanzy/go-gitlab v0.93.1 h1:f7J33cw/P9b/8paIOoH0F3H+TFrswvWHs6yUgoTp9LY=
11571157
github.com/xanzy/go-gitlab v0.93.1/go.mod h1:5ryv+MnpZStBH8I/77HuQBsMbBGANtVpLWC15qOjWAw=
@@ -1931,14 +1931,14 @@ honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt
19311931
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
19321932
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
19331933
honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las=
1934-
k8s.io/api v0.25.9 h1:XuJ2bz2F52jZmp3YjUcp/pozH8kY1BlBHdXnoOXBP3U=
1935-
k8s.io/api v0.25.9/go.mod h1:9YRWzD0cRHzfsnf9e5OQsQ4Un6cbZ//Xv3jo44YKm2Y=
1934+
k8s.io/api v0.26.7 h1:Lf4iEBEJb5OFNmawtBfSZV/UNi9riSJ0t1qdhyZqI40=
1935+
k8s.io/api v0.26.7/go.mod h1:Vk9bMadzA49UHPmHB//lX7VRCQSXGoVwfLd3Sc1SSXI=
19361936
k8s.io/apiextensions-apiserver v0.28.2 h1:J6/QRWIKV2/HwBhHRVITMLYoypCoPY1ftigDM0Kn+QU=
19371937
k8s.io/apiextensions-apiserver v0.28.2/go.mod h1:5tnkxLGa9nefefYzWuAlWZ7RZYuN/765Au8cWLA6SRg=
1938-
k8s.io/apimachinery v0.26.5 h1:hTQVhJao2piX7vSgCn4Lwd6E0o/+TJIH4NqRf+q4EmE=
1939-
k8s.io/apimachinery v0.26.5/go.mod h1:HUvk6wrOP4v22AIYqeCGSQ6xWCHo41J9d6psb3temAg=
1940-
k8s.io/client-go v0.25.9 h1:U0S3nc71NRfHXiA0utyCkPt3Mv1SWpQw0g5VfBCv5xg=
1941-
k8s.io/client-go v0.25.9/go.mod h1:tmPyOtpbbkneXj65EYZ4sXun1BE/2F2XlRABVj9CBgc=
1938+
k8s.io/apimachinery v0.26.7 h1:590jSBwaSHCAFCqltaEogY/zybFlhGsnLteLpuF2wig=
1939+
k8s.io/apimachinery v0.26.7/go.mod h1:qYzLkrQ9lhrZRh0jNKo2cfvf/R1/kQONnSiyB7NUJU0=
1940+
k8s.io/client-go v0.26.7 h1:hyU9aKHlwVOykgyxzGYkrDSLCc4+mimZVyUJjPyUn1E=
1941+
k8s.io/client-go v0.26.7/go.mod h1:okYjy0jtq6sdeztALDvCh24tg4opOQS1XNvsJlERDAo=
19421942
k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg=
19431943
k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
19441944
k8s.io/kube-openapi v0.0.0-20230515203736-54b630e78af5 h1:azYPdzztXxPSa8wb+hksEKayiz0o+PPisO/d+QhWnoo=
@@ -1947,8 +1947,8 @@ k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSn
19471947
k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
19481948
knative.dev/eventing v0.38.4 h1:eH059bfeLilj2xAN6V7XXOh3wqzz5ssoMS/CIJpJfmk=
19491949
knative.dev/eventing v0.38.4/go.mod h1:ct8t+v6nmp1kFCy6ngkDWIEvnjJDNDoKptrfnQVh+z8=
1950-
knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0 h1:EFQcoUo8I4bc+U3y6tR1B3ONYZSHWUdAfI7Vh7dae8g=
1951-
knative.dev/pkg v0.0.0-20230418073056-dfad48eaa5d0/go.mod h1:2qWPP9Gjh9Q7ETti+WRHnBnGCSCq+6q7m3p/nmUQviE=
1950+
knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7 h1:y3qbfYX1SuSr/1ysXvKfpV8q/kCwWLWieCUgAhBUHmQ=
1951+
knative.dev/pkg v0.0.0-20231011193800-bd99f2f98be7/go.mod h1:g+UCgSKQ2f15kHYu/V3CPtoKo5F1x/2Y1ot0NSK7gA0=
19521952
lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
19531953
lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
19541954
modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI=

pkg/reconciler/controller.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@ func NewController() func(context.Context, configmap.Watcher) *controller.Impl {
6666
log.Fatal("failed to init queues", err)
6767
}
6868

69-
pipelineRunInformer.Informer().AddEventHandler(controller.HandleAll(checkStateAndEnqueue(impl)))
69+
if _, err := pipelineRunInformer.Informer().AddEventHandler(controller.HandleAll(checkStateAndEnqueue(impl))); err != nil {
70+
logging.FromContext(ctx).Panicf("Couldn't register PipelineRun informer event handler: %w", err)
71+
}
7072

7173
return impl
7274
}

pkg/webhook/controller.go

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,24 @@ func NewAdmissionController(
5959
c := controller.NewContext(ctx, wh, controller.ControllerOptions{WorkQueueName: "ValidationWebhook", Logger: logger.Named("ValidationWebhook")})
6060

6161
// Reconcile when the named ValidatingWebhookConfiguration changes.
62-
vwhInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
62+
if _, err := vwhInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
6363
FilterFunc: controller.FilterWithName(name),
6464
// It doesn't matter what we enqueue because we will always Reconcile
6565
// the named VWH resource.
6666
Handler: controller.HandleAll(c.Enqueue),
67-
})
67+
}); err != nil {
68+
logging.FromContext(ctx).Panicf("Couldn't register ValidatingWebhookConfiguration informer event handler: %w", err)
69+
}
6870

6971
// Reconcile when the cert bundle changes.
70-
secretInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
72+
if _, err := secretInformer.Informer().AddEventHandler(cache.FilteringResourceEventHandler{
7173
FilterFunc: controller.FilterWithNameAndNamespace(system.Namespace(), wh.secretName),
7274
// It doesn't matter what we enqueue because we will always Reconcile
7375
// the named MWH resource.
7476
Handler: controller.HandleAll(c.Enqueue),
75-
})
77+
}); err != nil {
78+
logging.FromContext(ctx).Panicf("Couldn't register Secret informer event handler: %w", err)
79+
}
7680

7781
return c
7882
}

vendor/github.com/tektoncd/pipeline/pkg/apis/config/feature_flags.go

Lines changed: 48 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/tektoncd/pipeline/pkg/apis/version/version_validation.go renamed to vendor/github.com/tektoncd/pipeline/pkg/apis/config/featureflags_validation.go

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)