Bug 1657148

Summary: Branding customization doesn't work
Product: OpenShift Container Platform Reporter: Yadan Pei <yapei>
Component: Management ConsoleAssignee: Robb Hamilton <rhamilto>
Status: CLOSED CURRENTRELEASE QA Contact: Yadan Pei <yapei>
Severity: low Docs Contact:
Priority: medium    
Version: unspecifiedCC: aos-bugs, mmccomas, vlaad, yapei
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-25 20:29:51 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:
Attachments:
Description Flags
Brand none

Description Yadan Pei 2018-12-07 09:19:04 UTC
Description of problem:
branding customization doesn't work because the home page branding still show "RED HAT OPENSHIFT" but documentationBaseURL customization works well

Version-Release number of selected component (if applicable):
registry.svc.ci.openshift.org/openshift/origin-v4.0-2018-12-07-060250@sha256:b3ced03b1d2e181199dd387b6caa15ff051e2019a4dd22abaf5365de25d874b3

How reproducible:
Always

Steps to Reproduce:
1.Setup 4.0 cluster with openshift-installer, get cluster console route
$ oc get route -n openshift-console
2. Check configmap details
$ oc get cm console-config -n openshift-console -o yaml | grep -i customization -A 3
    customization:
      branding: okd
      documentationBaseURL: https://docs.okd.io/4.0/

3. Login to cluster console route with kubeadmin:<password>
4. Check Branding and Docs links

Actual results:
4. Branding shown as "RED HAT OPENSHIFT" and docs are using "https://docs.okd.io/4.0/" as base URL
such as https://docs.okd.io/4.0/cli_reference/get_started_cli.html

Expected results:
4. Branding should be "OKD"

Additional info:

Comment 1 Yadan Pei 2018-12-07 09:20:23 UTC
Created attachment 1512425 [details]
Brand

Comment 4 Robb Hamilton 2019-04-09 14:33:37 UTC
This was addressed with the merge of https://github.com/openshift/console/pull/933 on Feb 25, 2019.  I'm not sure what the correct status should be.

Comment 5 Yadan Pei 2019-04-12 07:47:59 UTC
1. Edit console.operator, set brand & docs customization and save changes
spec:
  customization:
    brand: okd
    documentationBaseURL: https://docs.okd.io/latest/
2. Logins to console, brand is changed to OKD and docs points to https://docs.okd.io/latest/



Verified on

console image: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:1f2ceacf044e29e75c488e5e641598015b2fff97274ab898409be5e020fea029
io.openshift.build.commit.id=d86dbff35d53acd8a0a48cde98cb6037d9577edb