Description of problem: The serve and validate command for declarative config is currently under the opm root. However, those two commands are not production-ready and still under development so they should be under opm alpha instead. Version-Release number of selected component (if applicable): 4.8 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
[root@preserve-olm-env operator-framework-olm]# ./bin/opm version Version: version.Version{OpmVersion:"24d0123", GitCommit:"24d012397dabf9815f8b3d6c968e5a3e091cca6c", BuildDate:"2021-05-06T03:39:36Z", GoOs:"linux", GoArch:"amd64"} The two commands(serve, validate) have been migrated to `alpha`. LGTM, verify it. [root@preserve-olm-env operator-framework-olm]# ./bin/opm --help CLI to interact with operator-registry and build indexes of operator content Usage: opm [command] Available Commands: help Help about any command index generate operator index container images registry interact with operator-registry database version Print the opm version ... [root@preserve-olm-env operator-framework-olm]# ./bin/opm alpha --help Run an alpha subcommand Usage: opm alpha [command] Available Commands: bundle Operator bundle commands serve serve declarative configs validate Validate the declarative index config [root@preserve-olm-env operator-framework-olm]# ./bin/opm alpha serve --help serve declarative configs via grpc Usage: opm alpha serve <source_path> [flags] Flags: --debug enable debug logging -h, --help help for serve -p, --port string port number to serve on (default "50051") -t, --termination-log string path to a container termination log file (default "/dev/termination-log") Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index [root@preserve-olm-env operator-framework-olm]# ./bin/opm alpha validate --help Validate the declarative config JSON file(s) in a given directory Usage: opm alpha validate <directory> [flags] Flags: -d, --debug enable debug log output -h, --help help for validate Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index
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.8.2 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:2438