https://github.com/operator-framework/operator-sdk/pull/5062 - would solve this issue.
(In reply to Varsha from comment #1) > https://github.com/operator-framework/operator-sdk/pull/5062 - would solve > this issue. will check.
passed in the upsteam $ operator-sdk run bundle quay.io/xxxx/ditto-operator:0.1.0 INFO[0022] Successfully created registry pod: quay-io-xxxx-ditto-operator-0-1-0 INFO[0022] Created CatalogSource: ditto-operator-catalog INFO[0023] OperatorGroup "operator-sdk-og" created INFO[0023] Created Subscription: ditto-operator-v0-1-0-sub INFO[0026] Approved InstallPlan install-zx6xf for the Subscription: ditto-operator-v0-1-0-sub INFO[0026] Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to reach 'Succeeded' phase INFO[0027] Waiting for ClusterServiceVersion "default/ditto-operator.v0.1.0" to appear INFO[0054] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Pending INFO[0055] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Installing INFO[0063] Found ClusterServiceVersion "default/ditto-operator.v0.1.0" phase: Succeeded INFO[0064] OLM has successfully installed "ditto-operator.v0.1.0" $ operator-sdk version operator-sdk version: "v1.8.0-32-ga450af0f", commit: "a450af0f981e86e52abb0d2e5d4b46b729e55bc2", kubernetes version: "v1.20.2", go version: "go1.16.5", GOOS: "linux", GOARCH: "amd64"
Waiting on downstream PR to merge. https://github.com/openshift/ocp-release-operator-sdk/pull/141
test env: 1.operator-sdk version: "v1.10.1-ocp", commit: "d71cf4eef5deaf65327992a7bf16b06bc9f58e7d", kubernetes version: "v1.21", go version: "go1.16.5", GOOS: "linux", GOARCH: "amd64" 2.oc version Client Version: 4.9.0-0.nightly-2021-08-03-200806 Server Version: 4.9.0-0.nightly-2021-08-22-070405 Kubernetes Version: v1.22.0-rc.0+5c2f7cd 3.clusterversion: 4.9.0-0.nightly-2021-08-22-070405 test result: operator-sdk pkgman-to-bundle wso2am-operator/ --image-tag-base quay.io/xxxx/wso2am --build-cmd "podman build -f bundle.Dockerfile . -t" operator-sdk run bundle quay.io/xxxx/wso2am:1.0.0 bundle image canbe installed success.
Fixed in v1.10.1-ocp
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:3759