-
Notifications
You must be signed in to change notification settings - Fork 7
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
Upgrade go to 1.19 and related dependencies #7
base: main
Are you sure you want to change the base?
Conversation
Changes required for ManagedFusionDeployment Controller
5096694
to
607965f
Compare
.github/workflows/golangci-lint.yaml
Outdated
@@ -18,5 +18,5 @@ jobs: | |||
- name: golangci-lint | |||
uses: golangci/golangci-lint-action@v3 | |||
with: | |||
version: v1.46.2 | |||
version: v1.50.0 |
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.
Why are we using v1.50.0?
latest version available is v1.51.2(latest)
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.
Done
ENVTEST_VERSION ?= latest | ||
OPERATOR_SDK_VERSION ?= v1.21.0 | ||
OPERATOR_SDK_VERSION ?= v1.25.4 |
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.
Any specific reason to use v1.25.4?
v1.27.0 is available
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.
v1.25.0 and above supports multi-arch build support so why don't we add a target as suggested in version upgrade docs?
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.
v1.25.4 is recommended to be installed according to the docs
https://docs.okd.io/4.12/operators/operator_sdk/golang/osdk-golang-updating-projects.html
go.mod
Outdated
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect | ||
k8s.io/utils v0.0.0-20230202215443-34013725500c // indirect | ||
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect | ||
sigs.k8s.io/yaml v1.2.0 // indirect | ||
) | ||
|
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.
Shouldn't we remove modules from replace section as we are upgrading our modules to a newer version?
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.
Done
Signed-off-by: Kaustav Majumder <[email protected]>
607965f
to
c31cae9
Compare
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.
- with the changes happened to prom, what's the lowest prom-op and ocp that we require?
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Upgrade list
Other changes
ioutil
package withos
packageThe above is required since after the prometheus package upgrade the spec has changed