Bug 2047320 - New route annotation to show another URL or hide topology URL decorator doesn't work for Knative Services
Summary: New route annotation to show another URL or hide topology URL decorator doesn...
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.10
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 4.11.0
Assignee: Christoph Jerolimov
QA Contact: spathak@redhat.com
Depends On:
Blocks: 2048046
TreeView+ depends on / blocked
Reported: 2022-01-27 15:52 UTC by Christoph Jerolimov
Modified: 2022-08-10 10:44 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2022-08-10 10:44:20 UTC
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Github openshift console pull 10955 0 None open Bug 2047320: Fix that new route annotations doesn't work on Knative Services 2022-01-27 16:07:15 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:44:38 UTC

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):

How reproducible:

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.


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