This is a cache of https://docs.okd.io/4.14/operators/operator_sdk/helm/osdk-hybrid-helm-updating-projects.html. It is a snapshot of the page at 2024-11-23T22:35:33.868+0000.
Updating Hybrid <strong>helm</strong>-based projects - Developing Operators | Operators | OKD 4.14
×

OKD 4.14 supports Operator SDK 1.31.0. If you already have the 1.28.0 CLI installed on your workstation, you can update the CLI to 1.31.0 by installing the latest version.

However, to ensure your existing Operator projects maintain compatibility with Operator SDK 1.31.0, update steps are required for the associated breaking changes introduced since 1.28.0. You must perform the update steps manually in any of your Operator projects that were previously created or maintained with 1.28.0.

Updating Hybrid helm-based Operator projects for Operator SDK 1.31.0

The following procedure updates an existing Hybrid helm-based Operator project for compatibility with 1.31.0.

Prerequisites
  • Operator SDK 1.31.0 installed

  • An Operator project created or maintained with Operator SDK 1.28.0

Procedure
  • Edit your Operator project’s Makefile to add the OPERATOR_SDK_VERSION field and set it to v1.31.0-ocp, as shown in the following example:

    Example Makefile
    # Set the Operator SDK version to use. By default, what is installed on the system is used.
    # This is useful for CI or a project to utilize a specific version of the operator-sdk toolkit.
    OPERATOR_SDK_VERSION ?= v1.31.0-ocp