diff --git a/cmd/bridge/main.go b/cmd/bridge/main.go index 1369af121fe..bf6c422beaf 100644 --- a/cmd/bridge/main.go +++ b/cmd/bridge/main.go @@ -85,7 +85,7 @@ func main() { fK8sPublicEndpoint := fs.String("k8s-public-endpoint", "", "Endpoint to use when rendering kubeconfigs for clients. Useful for when bridge uses an internal endpoint clients can't access for communicating with the API server.") fDexAPIHost := fs.String("dex-api-host", "", "Target host and port of the Dex API service.") - fBranding := fs.String("branding", "okd", "Console branding for the masthead logo and title. One of okd, openshift, ocp, online, or dedicated. Defaults to okd.") + fBranding := fs.String("branding", "okd", "Console branding for the masthead logo and title. One of okd, openshift, ocp, online, dedicated, or azure. Defaults to okd.") fDocumentationBaseURL := fs.String("documentation-base-url", "", "The base URL for documentation links.") fGoogleTagManagerID := fs.String("google-tag-manager-id", "", "Google Tag Manager ID. External analytics are disabled if this is not set.") @@ -149,8 +149,9 @@ func main() { case "ocp": case "online": case "dedicated": + case "azure": default: - flagFatalf("branding", "value must be one of okd, openshift, ocp, or online") + flagFatalf("branding", "value must be one of okd, openshift, ocp, online, dedicated, or azure") } srv := &server.Server{ diff --git a/frontend/public/branding.ts b/frontend/public/branding.ts index 77bc6ae0c87..1e31d4303ae 100644 --- a/frontend/public/branding.ts +++ b/frontend/public/branding.ts @@ -8,6 +8,8 @@ const getProductName = () => { return 'OpenShift Online'; case 'dedicated': return 'OpenShift Dedicated'; + case 'azure': + return 'Azure Red Hat OpenShift'; default: return 'OKD'; } diff --git a/frontend/public/components/masthead.jsx b/frontend/public/components/masthead.jsx index 7fe9286efa3..338f9cc2260 100644 --- a/frontend/public/components/masthead.jsx +++ b/frontend/public/components/masthead.jsx @@ -9,6 +9,7 @@ import openshiftLogoImg from '../imgs/openshift-logo.svg'; import ocpLogoImg from '../imgs/openshift-platform-logo.svg'; import onlineLogoImg from '../imgs/openshift-online-logo.svg'; import dedicatedLogoImg from '../imgs/openshift-dedicated-logo.svg'; +import azureLogoImg from '../imgs/azure-red-hat-openshift-logo.svg'; import * as pfBg992 from '../../public/imgs/pfbg_992.jpg'; export const getBrandingDetails = () => { @@ -39,6 +40,12 @@ export const getBrandingDetails = () => { logoAlt = 'OpenShift Dedicated'; productTitle = 'Red Hat OpenShift Dedicated'; break; + case 'azure': + backgroundImg = pfBg992; + logoImg = azureLogoImg; + logoAlt = 'Azure Red Hat OpenShift'; + productTitle = 'Azure Red Hat OpenShift'; + break; default: backgroundImg = pfBg992; logoImg = okdLogoImg; diff --git a/frontend/public/imgs/azure-red-hat-openshift-logo.svg b/frontend/public/imgs/azure-red-hat-openshift-logo.svg new file mode 100644 index 00000000000..b1fc3637cc1 --- /dev/null +++ b/frontend/public/imgs/azure-red-hat-openshift-logo.svg @@ -0,0 +1,101 @@ + + + diff --git a/frontend/public/index.html b/frontend/public/index.html index 84b1ff5dc8e..aa1d9592e39 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -25,6 +25,10 @@