Dashboard¶
MOSK Dashboard (OpenStack Horizon) provides a web-based interface for users to access the functions of the cloud services.
Custom theme¶
Parameter |
|
---|---|
Usage |
Defines the list of custom OpenStack Dashboard themes. Content of the archive file with a theme depends on the level of customization and can include static files, Django templates, and other artifacts. For the details, refer to OpenStack official documentation: Customizing Horizon Themes. spec:
features:
horizon:
themes:
- name: theme_name
description: The brand new theme
url: https://<path to .tgz file with the contents of custom theme>
sha256summ: <SHA256 checksum of the archive above>
|
Message of the Day (MOTD)¶
Available since MOSK 25.1
MOSK enables a cloud operator to configure Message of the Day (MOTD) for the MOSK Dashboard (OpenStack Horizon). These short messages inform users about current infrastructure issues, upcoming maintenance, and other events, helping them plan their work with minimal service disruption.
Cloud operators can configure messages to appear before or after users log in to Horizon, or both. Messages can also be visually distinguished based on severity and support minimal HTML formatting, including links.
To define the MOTD, populate the following structure in the
OpenStackDeployment
custom resource:
spec:
features:
horizon:
motd:
<NAME>:
level: <LEVEL>
message: <MESSAGE>
afterLogin: <true|false>
beforeLogin: <true|false>
Parameters:
<NAME>
: A unique symbolic name to distinguish messageslevel
: The severity level of the message. Supported values:success
,info
,warning
, anderror
beforeLogin
: Boolean. Iftrue
, the message appears on the login page for unauthorized users. Default:false
.afterLogin
: Boolean. Iftrue
, the message appears after users log in. Default:true
.
Configuration example:
spec:
features:
horizon:
motd:
errorBefore:
level: error
message: "We are experiencing <b>issues</b> with the authentication provider<br>Check the status at the <a href='https://foo.bar'>status page</a>"
afterLogin: false
beforeLogin: true
warnAfter:
level: warning
message: "Planned maintenance tomorrow"
The above configuration results in the following two messages displayed for all cloud users:
Login page:
After logging in: