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

Bug 1798930

Summary: KnativeServing link in Global Configuration should use new apiVersion
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED DUPLICATE QA Contact: Yadan Pei <yapei>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.3.zCC: aos-bugs, bpeterse, jhadvig, jokerman, yapei
Target Milestone: ---   
Target Release: 4.3.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1798925 Environment:
Last Closed: 2020-02-10 09:24:23 UTC Type: ---
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: 1798925, 1800598, 1801607    
Bug Blocks:    

Description Yadan Pei 2020-02-06 10:54:09 UTC
+++ This bug was initially created as a clone of Bug #1798925 +++

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:

--- Additional comment from Yadan Pei on 2020-02-06 18:44:49 CST ---

Comment 1 Jakub Hadvig 2020-02-10 09:24:23 UTC

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