-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.14.0
-
None
-
Moderate
-
No
-
1
-
OSDOCS Sprint 250, OSDOCS Sprint 251, OSDOCS Sprint 260
-
3
-
False
-
-
N/A
-
Release Note Not Required
Document URL:
https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/ansible/osdk-ansible-updating-projects.html#osdk-upgrading-projects_osdk-ansible-updating-projects
Section Number and Name:
Updating Ansible-based Operator projects for Operator SDK 1.31.0 --> Procedure --> 2.Edit your Operator project’s makefile to update the Operator SDK version to 1.31.0, as shown in the following example:
Describe the issue:
The content about "OPERATOR_SDK_VERSION" doesn't exist in the Makefile of 1.28.0-ocp. Should update the `Edit` to `Add`,and the downstream OSDK version is `1.31.0-ocp`.
Update the following content:
2.Edit your Operator project’s makefile to update the Operator SDK version to 1.31.0, 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 Change the version from {osdk_ver-n1} to 1.31.0.
TO be like:
2. Add the OPERATOR_SDK_VERSION in your Operator project’s makefile and set Operator SDK version 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
Additional Info:
Helm doc also has the same problem. https://docs.openshift.com/container-platform/4.14/operators/operator_sdk/helm/osdk-helm-updating-projects.html#osdk-upgrading-projects_osdk-helm-updating-projects