A.3. The values.yaml file

The values.yaml file allows for application customization when launching into kubernetes using helm. The supported config options are divided in Environment Settings, Start-Up Settings, Webserver Settings and Cluster Connection Settings. These are all explained below:

A.3.1. Application Configuration

The values listed below will be translated into snake_case and stored in the config.json file.

Table A.2. Environment Settings

OptionDescription
configPathString, path to configuration file location. Defaults to /app/persistent/ for production
helmWhen set to true, warns user on cluster configuration modifications through the UI. This is used when the dashboard is deployed via Helm and cluster configurations should only be managed through Helm values.
logTypeType of log to be written to the console. Supported values are console-edn
versionInformation attached to application logs

Table A.3. Start-Up Settings

OptionDescription
clustersConnectOnStartWhen set to true, the dashboard will connect to the clusters on startup. (Recommended for development use only)
topologyCleanOnExitWhen set to true, the dashboard will clean the cluster topology cache on exit by writing an empty map to the cache file. (Recommended for development use only)
topologyStartupDiscoverWhen set to true, the dashboard will discover clusters on startup. This includes a rest api call to the clusters in clusters.json file. (Recommended for development use only)

Table A.4. Webserver Settings

OptionDescription
browserPortIf SSL is terminated on the dashbaord, the browserPort should match the SSL port. If no SSL is used (not recommended), or you use an external load balancer, this value should match the appropriate port for this configuration.
domainDomain that dashboard is hosted on (including subdomain) - cannot be empty ie. example.com
keystorePasswordPassword of keystore file. (only relevant for ssl)
keystorePathPpath to the key store file that contains the TLS certificate for dashboard server. Keystore must be of type JKS (only relevant for ssl)
pathDirectory path at which the dashboard server is expected to respond to.
portWebserver http and websocket port
ssltrue/false (default false). Use ssl server
sslPortwebserver https and websocket secure port.
tokenLifetimeTime to live of authentication token in seconds.
allowTokenRenewaltrue/false - can the existing token be used to get a new one. defaults : true

Table A.5. Cluster Connection Settings

OptionDescription
hostnameValidationGlobal default for SSL hostname validation (can be overridden per cluster)
defaultRrestPortDefault REST port for clusters.
restTimeoutThe amount of time Dashboard server waits for the cluster to respond to a single REST api request. Consider adjusting this higher for large clusters or clusters under heavy load to reliably make the first topology discovery and connection.
defaultTcpPortDefault TCP port for clusters.

A.3.2. Cluster Configuration

The values listed below will be translated into snake_case and stored in the clusters.json file.

Table A.6. Cluster Settings

OptionDescription
api-passwordAPI Admin Password
api-userAPI Admin User
api-certBase64 encoded PEM certificate (encoded including BEGIN and END markers)
api-portRest API port number for cluster. Default: 8090
api-sslToggle SSL for API connections (true/false)
certBase64 encoded PEM certificate (encoded including BEGIN and END markers)
hostInitial host name to connect for a cluster discovery
namespaceOptional namespace label
sslToggle SSL in TCP socket connections (true/false)
tcp-portTCP port number for cluster. Default: 11999
hostname-validationHostname validation with https connections (set false for self signed certificates)

A.3.3. User Configuration

The values listed below will be translated into snake_case and stored in the users.json file. Passwords in the final deployment will be encrypted.

Table A.7. User Settings

OptionDescription
passwordPassword for user
roleCurrently only 'admin' role is supported
usernameUsername (avoid numbers, spaces and special characters)