Bug 1873916
| Summary: | Should display the `deprecatetruncate` sub-command of the `opm index` | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Jian Zhang <jiazha> |
| Component: | OLM | Assignee: | Evan Cordell <ecordell> |
| OLM sub component: | OLM | QA Contact: | Jian Zhang <jiazha> |
| Status: | CLOSED NOTABUG | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | ankithom |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-08-31 15:07:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Create a fixed PR for it: https://github.com/operator-framework/operator-registry/pull/428 Hi Jian, This was done on purpose, command is not yet ready to be exposed to users. See https://github.com/operator-framework/operator-registry/pull/428#issuecomment-683730101 Hi Ankita, Sorry for the late reply. Yes, I saw that comments. Actaully, for this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1873483 I thought you want to public this sub-command, and just missed this `Hidden` setting. |
Description of problem: No `deprecatetruncate` sub-command: mac:operator-registry jianzhang$ ./bin/opm index --help generate operator index container images from preexisting operator bundles Usage: opm index [command] Available Commands: add Add operator bundles to an index. export Export an operator from an index into the appregistry format prune prune an index of all but specified packages prune-stranded prune an index of stranded bundles rm delete an entire operator from an index Flags: -h, --help help for index Global Flags: --skip-tls skip TLS certificate verification for container image registries while pulling bundles or index Version-Release number of selected component (if applicable): mac:operator-registry jianzhang$ ./bin/opm version Version: version.Version{OpmVersion:"v1.6.1-249-gcde92c13", GitCommit:"cde92c13", BuildDate:"2020-08-31T02:14:12Z", GoOs:"darwin", GoArch:"amd64"} How reproducible: always Steps to Reproduce: 1. Install the `opm` binary. 2. Check the output of the `opm index` 3. Actual results: No `deprecatetruncate` sub-command. Expected results: Should display it. Additional info: