Updating Go-based Operator projects for newer Operator SDK versions
However, to ensure your existing Operator projects maintain compatibility with Operator SDK 1.28.0, update steps are required for the associated breaking changes introduced since 1.25.4. You must perform the update steps manually in any of your Operator projects that were previously created or maintained with 1.25.4.
The following procedure updates an existing Go-based Operator project for compatibility with 1.28.0.
Prerequisites
Operator SDK 1.28.0 installed
An Operator project created or maintained with Operator SDK 1.25.4
Modify your
go.mod
file to include the following dependencies and updated versions:Download the latest dependencies by running the following command: