Hide Forgot
It should require `--all` to do that, like delete does. User should never operate on "all resources" with explicit consent.
Origin PR: https://github.com/openshift/origin/pull/21313
Origin PR has merged
Checked with the latest 'openshift v3.11.36', the issue still exist, the PR still not merged with ocp3.11.x.
Confirmed with openshift v4.0.0-0.48.0, the issue has fixed。 [root@dhcp-140-138 roottest]# oc set image-lookup error: resource(s) were provided, but no name, label selector, or --all flag specified [root@dhcp-140-138 roottest]# oc version oc v4.0.0-0.48.0 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://host-8-246-192.host.centralci.eng.rdu2.redhat.com:8443 openshift v4.0.0-0.48.0 kubernetes v1.11.0+d4cacc0
Samuel Munilla: Could you help drop this bug from advisory RHBA-2018:37662-01, the bug only fixed with ocp 4.0.
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, 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/RHBA-2019:0758