Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1794804

Summary: oc get consoleclidownloads is messier than the rest of the console extension resources [openshift-4.4]
Product: OpenShift Container Platform Reporter: bpeterse
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED ERRATA QA Contact: Yadan Pei <yapei>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: aos-bugs, jokerman, yanpzhan
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-04 11:26:40 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:

Description bpeterse 2020-01-24 18:07:44 UTC
This resource is quite messy due to the inclusion of "description" in the output.  The rest of the console extension resources do not include description:
  oc get consoleclidownloads.console.openshift.io

This resource suffers from some strong line length wrap.  perhaps reordering so age comes before hreftemplate would mitigate:
  oc get consoleexternalloglinks.console.openshift.io

The rest are fine:
  oc get consolelinks.console.openshift.io
  oc get consolenotifications.console.openshift.io
  oc get consoleyamlsamples.console.openshift.io

We can probably fix this via our CRD.

Comment 2 Yanping Zhang 2020-02-10 03:23:39 UTC
oc version 4.4.0-202002052231.git.1.3433f68.el7.
Checked on OCP 4.4 env with payload: 4.4.0-0.nightly-2020-02-09-193413
The "Descripti"on column is still in crd consoleclidownloads.console.openshift.io, and "oc get consoleclidownloads.console.openshift.io" still returns long description.
Part of crd yaml:
<-snipset-->
spec:
  conversion:
    strategy: None
  group: console.openshift.io
  names:
    kind: ConsoleCLIDownload
    listKind: ConsoleCLIDownloadList
    plural: consoleclidownloads
    singular: consoleclidownload
  scope: Cluster
  versions:
  - additionalPrinterColumns:
    - jsonPath: .spec.displayName
      name: Display name
      type: string
    - jsonPath: .metadata.creationTimestamp
      name: Age
      type: string
    - jsonPath: .spec.description
      name: Description
      type: string
<-snipset-->

Comment 4 Yanping Zhang 2020-02-13 06:20:46 UTC
Tested on ocp 4.4 env with payload 4.4.0-0.nightly-2020-02-12-191550, now in crd consoleclidownloads.console.openshift.io, "Description" column is removed, and "oc get consoleclidownloads.console.openshift.io" will not show description column.
$ oc get consoleclidownloads.console.openshift.io 
NAME                  DISPLAY NAME                                  AGE
helm-download-links   helm - Helm 3 CLI                             2020-02-12T23:30:29Z
kn                    kn - OpenShift Serverless CLI                 2020-02-13T03:17:20Z
oc-cli-downloads      oc - OpenShift Command Line Interface (CLI)   2020-02-12T23:37:02Z
odo-cli-downloads     odo - Developer-focused CLI for OpenShift     2020-02-12T23:37:02Z
The bug is fixed.

Comment 6 errata-xmlrpc 2020-05-04 11:26:40 UTC
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-2020:0581