Bug 2047320

Summary: New route annotation to show another URL or hide topology URL decorator doesn't work for Knative Services
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.10CC: aos-bugs, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-10 10:44:20 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:
Bug Depends On:    
Bug Blocks: 2048046    

Description Christoph Jerolimov 2022-01-27 15:52:49 UTC
Description of problem:
With https://issues.redhat.com/browse/ODC-6448 the topology introduced two new annotations to set a custom URL in a topology "Open URL" decorator. Another annotation could be used to hide the "Open URL" decorated. This works fine for Deployments and DeploymentConfigs, but not for Knative Services. 

Version-Release number of selected component (if applicable):
4.10

How reproducible:
Always

Steps to Reproduce:
1. Install the Serverless operator
2. Import an app from container image or git and select "Serverless Service"
3. Set the annotation app.openshift.io/route-url to an URL or app.openshift.io/route-disabled to true.

Actual results:
Nothing happens, the default URL from the service is still shown.

Expected results:
If a custom URL is defined this should be shown. If the disable annotation is set to 'true' (string) the decorator should not be shown.

Additional info:

Comment 3 Mohammed Saud 2022-02-16 12:27:51 UTC
Verified on:
Build:   4.11.0-0.nightly-2022-02-12-075213
Browser: Firefox 97

Comment 5 errata-xmlrpc 2022-08-10 10:44:20 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 (Important: OpenShift Container Platform 4.11.0 bug fix and security update), 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/RHSA-2022:5069