zncdatadev / trino-operator

Operator for Trino, the distributed SQL query engine for big data
Apache License 2.0
3 stars 5 forks source link

[Feature]: Add golang1.22 and client-go0.30 support #77

Closed whg517 closed 4 months ago

whg517 commented 4 months ago

Duplicates

Summary 💡

client-go, controller-runtime now supports go1.22, and the envtest tool in controller-tool is fixed by locking the version after the latest error. The community stack is now ready for go1.22 with libraries like golangci-lint kubebuilder. In order to keep up with new features that are steadily available as operator is developed, a dependent version upgrade of operator is now planned.

Examples 🌈

No response

Motivation 🔦

Due to the use of an outdated Go version (<1.22), many Kubernetes packages cannot be upgraded, and the operator-sdk also cannot be updated. This limitation prevents us from utilizing new features and receiving critical bug fixes. Upgrading to the latest Go version is essential to ensure compatibility with the latest Kubernetes packages and operator-sdk, allowing us to take advantage of new functionalities and improvements.