-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
openshift-4.13, openshift-4.14, openshift-4.12.z
-
None
-
None
-
Product / Portfolio Work
-
None
-
False
-
-
None
-
None
-
None
-
-
None
-
None
-
None
-
None
-
None
Description of problem:
The opm version is not clear, it is really hard to figure out the opm is 4.13 or 4.12 or else.
Version-Release number of selected component (if applicable):
4.13
How reproducible:
always
Steps to Reproduce:
1. according the customer doc, get opm from mirror2
https://docs.openshift.com/container-platform/4.12/cli_reference/opm-cli.html#opm-cli
opm for release-4.13-rc7
[root@preserve-olm-agent-test test_bin]# wget https://mirror2.openshift.com/pub/openshift-v4/x86_64/clients/ocp/4.13.0-rc.7/opm-linux.tar.gz .
[root@preserve-olm-agent-test test_bin]# ls
opm-linux.tar.gz
[root@preserve-olm-agent-test test_bin]# tar xvf opm-linux.tar.gz
opm
[root@preserve-olm-agent-test test_bin]# ./opm version
Version: version.Version{OpmVersion:"3174a8afe", GitCommit:"3174a8afee20dad9df555e3cc1ab106c2dcd7e4e", BuildDate:"2023-04-19T04:01:28Z", GoOs:"linux", GoArch:"amd64"}
opm for release-4.12
[root@preserve-olm-agent-test opm_dir]# wget https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest-4.12/opm-linux.tar.gz .
[root@preserve-olm-agent-test opm_dir]# tar -xvf opm-linux.tar.gz
opm
[root@preserve-olm-agent-test opm_dir]# ls
opm opm-linux.tar.gz
[root@preserve-olm-agent-test opm_dir]# ./opm version
Version: version.Version{OpmVersion:"dd3cc9cbf", GitCommit:"dd3cc9cbf5ccc16441f427b2d1386d6ca430f82f", BuildDate:"2023-04-19T07:06:19Z", GoOs:"linux", GoArch:"amd64"}
Actual results:
The opm version is not clear
Expected results:
the opm version matches the ocp release
for example:
Version: version.Version{OpmVersion:"4.13.0-rc.7", GitCommit:"3174a8afee20dad9df555e3cc1ab106c2dcd7e4e", BuildDate:"2023-04-19T04:01:28Z", GoOs:"linux", GoArch:"amd64"}
Additional info: