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

Bug 1798925

Summary: KnativeServing link in Global Configuration should use new apiVersion
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Dev ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4CC: aos-bugs, jhadvig, jokerman, nmukherj, yapei
Target Milestone: ---   
Target Release: 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1798930 (view as bug list) Environment:
Last Closed: 2020-02-10 09:23:00 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: 1798930    
Attachments:
Description Flags
One Obselete and the other one none

Description Yadan Pei 2020-02-06 10:43:38 UTC
Description of problem:
KnativeServing link in Global Configuration is using obselete apiVersion which results in a 404 when legacy KnativeServing is not created. 

Version-Release number of selected component (if applicable):
4.4.0-0.nightly-2020-02-05-220946

How reproducible:
Always

Steps to Reproduce:
1. install OpenShift Serverless Operator to all namespaces
2. create knative-serving namespace
3. Create Custom Resource 'Knative Serving' into 'knative-serving' project, a knative-serving instance can be succesfully created
# oc get KnativeServing.operator.knative.dev  -n knative-serving
NAME              VERSION   READY   REASON
knative-serving   0.11.1    False   NotReady
4. Visit Administration -> Cluster Settings -> Global Configuration -> click KnativeServing

Actual results:
4. It reports 404 Not Found https://console-openshift-console.apps.qe-uiyapei44.qe.devcluster.openshift.com/k8s/ns/knative-serving/serving.knative.dev~v1alpha1~KnativeServing/knative-serving

Expected results:
4. The correct URL to get KnativeServing is https://console-openshift-console.apps.qe-uiyapei44.qe.devcluster.openshift.com/k8s/ns/knative-serving/operator.knative.dev~v1alpha1~KnativeServing/knative-serving/yaml.
From OpenShift Serverless Operator, it seems apiVersion serving.knative.dev/v1alpha1 is obselete

Additional info:

Comment 1 Yadan Pei 2020-02-06 10:44:49 UTC
Created attachment 1658138 [details]
One Obselete and the other one

Comment 2 Jakub Hadvig 2020-02-10 09:23:00 UTC

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