-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Support for Go version 1.21 #6644
Support for Go version 1.21 #6644
Comments
Maybe we need to bump the version at https://github.com/operator-framework/operator-sdk/blob/master/images/operator-sdk/Dockerfile#L22 as well? Some usages of go 1.20:
|
For helm-operator , found that Go version is upgraded to 1.21 :
which can be seen here as well :
But for ansible operator, I think code is refactored & maintained here : https://github.com/operator-framework/ansible-operator-plugins Because of this might be ansible-operator version 1.33 is showing Go version as 1.20.11. |
It is not working with Go 1.22 either, see Homebrew/homebrew-core#157782 Also note, that when Go 1.22 is released (scheduled for February) the Go 1.20 will become unsupported. |
@everettraven would be taking a look at the go version for the base images. Will update here accordingly. |
@Neo2308 This looks to be correct
@SuchitraShelke That repo is correct for the ansible operator. The binary in the base image there is built with the same go version in the projects go.mod file which is currently go 1.20. I'm not sure if there are plans to update this outside of the regular k8s version bumps (which is typically when we update the go version). |
Related: * pinning to [email protected]: Homebrew#162766 * upstream: operator-framework/operator-sdk#6644
Type of question
Open question
Question
What did you do?
Using operator-sdk images as base image in our docker file
FROM quay.io/operator-framework/ansible-operator:v1.33.0
What did you expect to see? :
Want to upgrade internal Go version used by base image to 1.21.x.
What did you see instead? Under which circumstances?
Even after using latest operator-sdk image [ 1.33 ] , getting Go version as 1.20.11 .
Environment
Operator type: Ansible & helm
Kubernetes cluster type: OCP
$ operator-sdk version
: v1.33.0$ go version
(if language is Go) : go1.20.11$ kubectl version
: v1.27.0Additional context
In the internal security scan for my product getting some critical PSIRT raised because of the Go version used in operator-sdk base image . And to address those have to upgrade Go version to 1.21.x .
So wanted to know when new operator-sdk release/image will be available with Go version uplifted to 1.21.x
The text was updated successfully, but these errors were encountered: