-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
-
5
WHY
To be fully compartible with GO 1.22 for future releases we need upgrade Operator SDK to version 1.28+
WHAT
- To be fully compartible with GO 1.22 for future releases we need upgrade Operator SDK to version 1.28+
- Here’s a summary of the versions and their compatibility with Go 1.22, as was investigated
Go Version | Operator SDK Version | Notes |
Go 1.18 - 1.20 | Operator SDK 1.2 | Works well with Go 1.18 and 1.19, but may cause issues with Go 1.22 due to Go modules changes. |
Go 1.21 - 1.22 | Operator SDK 1.28+ | Fully compatible with Go 1.21 and 1.22. Recommended version for Go 1.22. |
- Deside about new version to take, minimum suggested is 1.28. This version is used in marin3r project
HOW
- Check OperatorSDK upgrade guide https://sdk.operatorframework.io/docs/upgrading-sdk-version/
- Prepare a document (in Google Docs) based on upgrading-sdk-version Guide, with a table of changes, whether they are mandatory or optional, and possible risks. And deside about new version if it will be 1.28 or newer.
- Development: Update 3scale-operator configuration files to use new opeator-sdk version instead of existing v1.2.0, move /v2 to /v3 - see PROJECT file, etc...; For help - look at investigation PR 1036 , at marin3r project that already uses operator-sdk 1.28.
- Update documentation
TEST
- local installation, local tests, Upgrade
- PR tests
DONE
- all tests passed
- 3scale is working with New OperatorSdk version fully compartible and recommented for GO 1.22