Description of problem: When we create ConsoleLink with location set as NamespaceDashboard, there will be a Launcher section on Project Dashboard page, but the Launcher section is missing on Namespace Overview page Version-Release number of selected component (if applicable): 4.3.0-0.nightly-2019-11-04-210904 How reproducible: Always Steps to Reproduce: 1. Create ConsoleLink with location set as NamespaceDashboard $ cat > helplink1.yaml << EOF apiVersion: console.openshift.io/v1 kind: ConsoleLink metadata: name: namespaced-dashboard-link-for-all-namespaces spec: href: 'https://www.example.com' location: NamespaceDashboard text: This appears in all namespaces EOF $ oc create -f helplink1.yaml 2. Check Launcher in project details steps: Home -> Project -> default 3. Check Launcher in namespace details steps: Administration -> Namespaces -> default Actual results: 2. There is Launcher section and `This appears in all namespaces` link 3. No Launcher section Expected results: 3. According to PR https://github.com/openshift/console/pull/2698, there should be a Launcher section on namespace Overview page with correct links shown Additional info:
@Yadan, did you refresh the browser after adding the new link? We're not watching ConsoleLinks, so the Launcher section will only appear after a browser refresh.
> @Yadan, did you refresh the browser after adding the new link? We're not watching ConsoleLinks, so the Launcher section will only appear after a browser refresh. Disregard. I misread the bug. The Launcher section is not currently on the Namespace Overview.
1. Create two ConsoleLinks, one targets all namespaces and the other targets specific namespace $ cat > link1.yaml << EOF apiVersion: console.openshift.io/v1 kind: ConsoleLink metadata: name: example-namespace-dashboard spec: href: 'https://www.example.com' location: NamespaceDashboard text: Namespace Dashboard Link namespaceDashboard: namespaces: - default EOF $ cat > link2.yaml << EOF apiVersion: console.openshift.io/v1 kind: ConsoleLink metadata: name: example-namespace-dashboard-all spec: href: 'https://www.example.com' location: NamespaceDashboard text: This appears in all Namespace Dashboard Link EOF $ oc create -f link1.yaml -f link2.yaml 2. Visit Home -> Project -> default, on project Dashboard we can see two links in Launcher section 3. Visit Administration -> Namepsace -> deafult, we can also see a Launcher section with two links too Verified on 4.3.0-0.nightly-2019-11-10-185106
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, 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/RHBA-2020:0062