Configure a custom values file for ScalarDB Analytics with PostgreSQL
This document explains how to create your custom values file for the ScalarDB Analytics with PostgreSQL chart. For details on the parameters, see the README of the ScalarDB Analytics with PostgreSQL chart.
Required configurations
This section explains the required configurations when setting up a custom values file for ScalarDB Analytics with PostgreSQL.
Database configurations
To access databases via ScalarDB Analytics with PostgreSQL, you must set the scalardbAnalyticsPostgreSQL.databaseProperties
parameter by following the same syntax that you use to configure the database.properties
file. For details about configurations, see ScalarDB Configurations.
scalardbAnalyticsPostgreSQL:
databaseProperties: |
scalar.db.contact_points=localhost
scalar.db.username=${env:SCALAR_DB_USERNAME:-}
scalar.db.password=${env:SCALAR_DB_PASSWORD:-}
scalar.db.storage=cassandra
Database namespaces configurations
You must set schemaImporter.namespaces
to all the database namespaces that include tables you want to read via ScalarDB Analytics with PostgreSQL.
schemaImporter:
namespaces:
- namespace1
- namespace2
- namespace3