Bug 1850039 - Operator's Icon not visible in OperatorHub
Summary: Operator's Icon not visible in OperatorHub
Keywords:
Status: CLOSED DUPLICATE of bug 1844125
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Robb Hamilton
QA Contact: Yadan Pei
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-23 12:54 UTC by Anshul Verma
Modified: 2023-12-15 18:15 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-23 13:55:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Anshul Verma 2020-06-23 12:54:33 UTC
Description of problem:

When the OperatorHub is browsed, the Icons for custom Operators are not visible.
They get visible when the page is just scrolled down.

I check and saw that a request for the icon image is made just when the scrolling event get occurred.

The request is made to -
https://console-openshift-console.<ingress_wildcard_domain>/api/kubernetes/apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/<operatorname>/icon?resourceVersion=<operator_version>

~~~
GET /api/kubernetes/apis/packages.operators.coreos.com/v1/namespaces/openshift-marketplace/packagemanifests/<customer_operator_name>/icon?resourceVersion=<customer_operator_version> HTTP/1.1
Host: console-openshift-console.<wildcard_domain>
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36
Accept: image/webp,image/apng,image/*,*/*;q=0.8
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: no-cors
Sec-Fetch-Dest: image
Referer: https://console-openshift-console.<wildcard_ingress_domain>/operatorhub/ns/apic?category=cp4i
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9,es-419;q=0.8,es;q=0.7,fr;q=0.6
Cookie: openshift-session-token=<session_token>; optimizelyEndUserId=<enduserid>; csrf-token=<token>
~~~

Comment 2 Samuel Padgett 2020-06-23 13:55:08 UTC

*** This bug has been marked as a duplicate of bug 1844125 ***


Note You need to log in before you can comment on or make changes to this bug.