Openshift Web 控制台 - 更新 CSS / 徽标不起作用

Openshift web console - updating CSS / logo doesn't work

我正在通读 https://docs.openshift.com/container-platform/3.9/install_config/web_console_customization.html#loading-custom-scripts-and-stylesheets,其中要求我执行以下操作,我已经完成了:

oc edit configmap/webconsole-config -n openshift-web-console

// I put in the below (obviously with a correct URL):
  stylesheetURLs:
    - https://url-for-a-css-file

// And also tried it with the below:
      stylesheetURLs:[https://url-for-a-css-file]

上面的 CSS 文件看起来像这样:

#header-logo {
background-image: url("https://url-for-a-png-file") !important;
width: 190px;
height: 20px;
}

但是,这些方法都不起作用。 header-logo 永远不会改变。

我知道文档说 "Scripts and stylesheets must be served with the correct content type or they will not be run by the browser. Scripts must be served with Content-Type: application/javascript and stylesheets with Content-Type: text/css.",但我不确定如何 'serve' 如果我只是从 HTTPS 服务器(在本例中是 gitlab)链接这样的文件URL).

对于外部文件URL,不能放在github/gitlab。必须在其他地方托管。