Parameters#
The Tokkio UI configuration options are provided below:
Parameter |
Default Value |
Description |
---|---|---|
|
|
The title of the application displayed in the top bar. |
|
|
Set to |
|
|
The number of seconds to count down from before ending the user’s session. |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
|
Set to |
|
When running the Tokkio UI as an iframe in another website, set this parameter to the URL of the parent website. This will redirect the user to the parent website when attempt to open the iframe directly. |
|
|
|
Set to |
|
This should be set to be the endpoint where the UI can call the APIs of the Ingress service. |
|
|
This should be set to the endpoint where the UI can make a WebSocket connection to the ACE Controller service. |
|
|
This should be set to the endpoint where the UI can make a WebSocket connection to the VST service. |
Changing the Parameters#
Note
The below options are only available for a UI deployed within the Kubernetes cluster. For a UI deployed outside the cluster on a CSP, or from source code, the below options will not work. If using a CSP, visit the configuration section for details, parameters can be set through spec > app > configs > ui_settings > user_env_vars
. When configuring the UI in this way, variable names should be in all caps (e.g. app_title
becomes APP_TITLE
).
The UI parameters can be changed in the following ways:
Using the ACE Configurator
Using
helm upgrade
Using
values.yaml
Change the UI Parameters Using the ACE Configurator#
If you are already using the ACE Configurator, you can change the UI parameters by downloading the UI configuration file through the ACE configurator, editing the parameters in the file, then uploading the file. The UI will automatically restart with the new configuration.
Change the UI Parameters Using helm upgrade
#
If you do not want to use the ACE Configurator, the UI parameters may also be updated by using the following helm upgrade command:
helm upgrade <release-name> <path/to/helm/chart> -n app --reuse-values --set tokkio-ui.uiConfig.config.<config-name>=<config-value>
For example, to change the app title to My Awesome App
, the following command can be used:
helm upgrade tokkio-app <path/to/helm/chart> -n app --reuse-values --set tokkio-ui.uiConfig.config.app_title="My Awesome App"
Change the UI Parameters Using values.yaml
#
For UI parameters to persist between deployments, the parameters can be set in the tokkio-ui.uiConfig
section of the values.yaml
file.
If using this method, the app will need to be redeployed to apply the changes.
tokkio-ui:
uiConfig:
config:
app_title: "My Awesome App"
# ... other parameters