-
Bug
-
Resolution: Done
-
Minor
-
None
-
4.14.z, 4.15
-
None
-
Low
-
No
-
1
-
OSDOCS Sprint 250
-
1
-
False
-
-
Release Note Not Required
Document URL:
https://docs.openshift.com/container-platform/4.15/operators/operator_sdk/osdk-generating-csvs.html#osdk-operatorconditions_osdk-generating-csvs
Section Number and Name:
Procedure --> To enable Operator conditions in your Operator project: --> 1.In the go.mod file of your Operator project, add operator-framework/operator-lib as a required library:
Describe the issue:
The example go.mod file is: ''''''''''''''''''''''''''''''''''''' module github.com/example-inc/memcached-operator go 1.15 require ( k8s.io/apimachinery v0.19.2 k8s.io/client-go v0.19.2 sigs.k8s.io/controller-runtime v0.7.0 operator-framework/operator-lib v0.3.0 ) ''''''''''''''''''''''''''''''''''' but the operator-sdk 4.15 support the go.mod file should be like: ''''''''''''''''''''''''''''''''''''' module github.com/example-inc/memcached-operator go 1.19 require ( k8s.io/apimachinery v0.26.0 k8s.io/client-go v0.26.0 sigs.k8s.io/controller-runtime v0.14.1 operator-framework/operator-lib v0.11.0 ) '''''''''''''''''''''''''''''''''''