Updating 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 Ansible-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
Update your Makefile’s target to the following:
To upgrade the
kubernetes.core
collection to v2.4.0, replace the following in your project’srequirements.yaml
file: