-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump go1.21 and update dependencies #149
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,103 +1,114 @@ | ||
module github.com/shipwright-io/operator | ||
|
||
go 1.19 | ||
go 1.21 | ||
|
||
require ( | ||
github.com/go-logr/logr v1.2.4 | ||
github.com/manifestival/controller-runtime-client v0.4.0 | ||
github.com/manifestival/manifestival v0.7.2 | ||
github.com/onsi/ginkgo v1.16.5 | ||
github.com/onsi/ginkgo v1.16.4 | ||
github.com/onsi/gomega v1.28.0 | ||
github.com/tektoncd/operator v0.60.0 | ||
k8s.io/api v0.23.5 | ||
k8s.io/apiextensions-apiserver v0.23.4 | ||
k8s.io/apimachinery v0.23.5 | ||
k8s.io/client-go v0.23.5 | ||
sigs.k8s.io/controller-runtime v0.11.0 | ||
github.com/tektoncd/operator v0.68.0 | ||
k8s.io/api v0.27.4 | ||
k8s.io/apiextensions-apiserver v0.27.4 | ||
k8s.io/apimachinery v0.27.4 | ||
k8s.io/client-go v1.5.2 | ||
sigs.k8s.io/controller-runtime v0.14.6 | ||
) | ||
|
||
require ( | ||
cloud.google.com/go/compute v1.15.1 // indirect | ||
cloud.google.com/go/compute/metadata v0.2.3 // indirect | ||
contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect | ||
contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect | ||
github.com/Azure/go-autorest v14.2.0+incompatible // indirect | ||
github.com/Azure/go-autorest/autorest v0.11.24 // indirect | ||
github.com/Azure/go-autorest/autorest/adal v0.9.18 // indirect | ||
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect | ||
github.com/Azure/go-autorest/logger v0.2.1 // indirect | ||
github.com/Azure/go-autorest/tracing v0.6.0 // indirect | ||
contrib.go.opencensus.io/exporter/prometheus v0.4.2 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/blendle/zapdriver v1.3.1 // indirect | ||
github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.2.0 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/evanphx/json-patch v4.12.0+incompatible // indirect | ||
github.com/emicklei/go-restful/v3 v3.10.2 // indirect | ||
github.com/evanphx/json-patch v5.6.0+incompatible // indirect | ||
github.com/evanphx/json-patch/v5 v5.6.0 // indirect | ||
github.com/fsnotify/fsnotify v1.5.1 // indirect | ||
github.com/go-kit/log v0.1.0 // indirect | ||
github.com/go-logfmt/logfmt v0.5.0 // indirect | ||
github.com/go-logr/zapr v1.2.0 // indirect | ||
github.com/fsnotify/fsnotify v1.6.0 // indirect | ||
github.com/go-kit/log v0.2.1 // indirect | ||
github.com/go-logfmt/logfmt v0.6.0 // indirect | ||
github.com/go-logr/zapr v1.2.4 // indirect | ||
github.com/go-openapi/jsonpointer v0.20.0 // indirect | ||
github.com/go-openapi/jsonreference v0.20.2 // indirect | ||
github.com/go-openapi/swag v0.22.4 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang-jwt/jwt/v4 v4.3.0 // indirect | ||
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect | ||
github.com/golang/protobuf v1.5.3 // indirect | ||
github.com/google/gnostic v0.6.9 // indirect | ||
github.com/google/go-cmp v0.5.9 // indirect | ||
github.com/google/go-containerregistry v0.16.1 // indirect | ||
github.com/google/gofuzz v1.2.0 // indirect | ||
github.com/google/uuid v1.3.0 // indirect | ||
github.com/googleapis/gnostic v0.5.5 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect | ||
github.com/hashicorp/golang-lru v0.5.4 // indirect | ||
github.com/imdario/mergo v0.3.12 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.2 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/golang-lru v0.6.0 // indirect | ||
github.com/imdario/mergo v0.3.16 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/kelseyhightower/envconfig v1.4.0 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect | ||
github.com/mailru/easyjson v0.7.7 // indirect | ||
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/nxadm/tail v1.4.8 // indirect | ||
github.com/onsi/ginkgo/v2 v2.13.0 // indirect | ||
github.com/opencontainers/go-digest v1.0.0 // indirect | ||
github.com/openshift-pipelines/pipelines-as-code v0.21.0 // indirect | ||
github.com/openshift/api v0.0.0-20230503133300-8bbcb7ca7183 // indirect | ||
github.com/openshift/apiserver-library-go v0.0.0-20230503174907-d9b2bf6185e9 // indirect | ||
github.com/openshift/client-go v0.0.0-20230503144108-75015d2347cb // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/prometheus/client_golang v1.11.1 // indirect | ||
github.com/prometheus/client_model v0.2.0 // indirect | ||
github.com/prometheus/common v0.32.1 // indirect | ||
github.com/prometheus/procfs v0.7.3 // indirect | ||
github.com/prometheus/statsd_exporter v0.21.0 // indirect | ||
github.com/prometheus/client_golang v1.16.0 // indirect | ||
github.com/prometheus/client_model v0.4.0 // indirect | ||
github.com/prometheus/common v0.44.0 // indirect | ||
github.com/prometheus/procfs v0.11.1 // indirect | ||
github.com/prometheus/statsd_exporter v0.24.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/tektoncd/pipeline v0.50.1 // indirect | ||
github.com/tektoncd/triggers v0.25.0 // indirect | ||
go.opencensus.io v0.24.0 // indirect | ||
go.uber.org/atomic v1.9.0 // indirect | ||
go.uber.org/multierr v1.7.0 // indirect | ||
go.uber.org/zap v1.21.0 // indirect | ||
golang.org/x/crypto v0.14.0 // indirect | ||
golang.org/x/mod v0.9.0 // indirect | ||
go.uber.org/atomic v1.10.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
go.uber.org/zap v1.25.0 // indirect | ||
golang.org/x/exp v0.0.0-20230801115018-d63ba01acd4b // indirect | ||
golang.org/x/net v0.17.0 // indirect | ||
golang.org/x/oauth2 v0.4.0 // indirect | ||
golang.org/x/sync v0.1.0 // indirect | ||
golang.org/x/oauth2 v0.11.0 // indirect | ||
golang.org/x/sync v0.3.0 // indirect | ||
golang.org/x/sys v0.13.0 // indirect | ||
golang.org/x/term v0.13.0 // indirect | ||
golang.org/x/text v0.13.0 // indirect | ||
golang.org/x/time v0.3.0 // indirect | ||
gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect | ||
google.golang.org/api v0.103.0 // indirect | ||
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect | ||
google.golang.org/api v0.134.0 // indirect | ||
google.golang.org/appengine v1.6.7 // indirect | ||
google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f // indirect | ||
google.golang.org/grpc v1.53.0 // indirect | ||
google.golang.org/protobuf v1.28.1 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20230803162519-f966b187b2e5 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect | ||
google.golang.org/grpc v1.57.0 // indirect | ||
google.golang.org/protobuf v1.31.0 // indirect | ||
gopkg.in/inf.v0 v0.9.1 // indirect | ||
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
k8s.io/component-base v0.23.4 // indirect | ||
k8s.io/klog/v2 v2.60.1-0.20220317184644-43cc75f9ae89 // indirect | ||
k8s.io/kube-openapi v0.0.0-20220124234850-424119656bbf // indirect | ||
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect | ||
knative.dev/pkg v0.0.0-20220329144915-0a1ec2e0d46c // indirect | ||
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect | ||
k8s.io/component-base v0.27.4 // indirect | ||
k8s.io/klog/v2 v2.100.1 // indirect | ||
k8s.io/kube-openapi v0.0.0-20230718181711-3c0fae5ee9fd // indirect | ||
k8s.io/utils v0.0.0-20230726121419-3b25d923346b // indirect | ||
knative.dev/pkg v0.0.0-20230718152110-aef227e72ead // indirect | ||
sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.3.0 // indirect | ||
sigs.k8s.io/yaml v1.3.0 // indirect | ||
) | ||
|
||
// github.com/manifestival/controller-runtime-client v0.4.0 depends on | ||
// github.com/manifestival/manifestival v0.6.0, which in turn depends on | ||
// k8s.io/client-go v0.15.7. This is not compatible with v0.20.2 and leads to transitive | ||
// dependency hell. Pinning k8s.io/client-go to the version shared by controller-runtime and | ||
// the latest version of manifestival | ||
replace k8s.io/client-go => k8s.io/client-go v0.23.5 | ||
replace ( | ||
k8s.io/api => k8s.io/api v0.26.8 | ||
k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.26.8 | ||
k8s.io/apimachinery => k8s.io/apimachinery v0.26.8 | ||
k8s.io/client-go => k8s.io/client-go v0.26.8 | ||
k8s.io/code-generator => k8s.io/code-generator v0.26.8 | ||
k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230515203736-54b630e78af5 | ||
) |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please ensure client-go is aligned with the other k8s versions. This will break things otherwise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes there is a replcaement directive for client-go
k8s.io/client-go => k8s.io/client-go v0.26.8
the k8s.io/client-go v1.5.2 is forced by go mod algorithm
I can see the same thing for the tekton operator go mod https://github.com/tektoncd/operator/blob/main/go.mod#L33
Also, it is worth adding that i tested it locally and it is working correctly