Skip to main content
Version 3.0

TDP databases
ready in CloudBeaver.

Four scenarios: how pre-registered connections reach the workspace, ClickHouse and Trino already registered, and the S3 credentials in the pod. Each one covers: the chart default, the values file block commented line by line, and a step-by-step with verification.

ChartVersion3.0.3TypeapplicationAppVersion25.3.0
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+
Feature SupportS3supported

The tdp-cloudbeaver chart can pre-register ClickHouse and Trino connections in a TDP navigator folder, from tdp-cloudbeaver.dataSources. Connections enter the workspace only on first startup. Afterwards, interface changes apply. For installation, access and metadata in PostgreSQL, see CloudBeaver Configuration.

Your environment

If you fill in your environment details here, the examples and commands on the page use what you provided. The namespace, the release name and the values file are your choices, not the chart's.

Scenarios​

From values file to TDP folder: the ConfigMap, copying on first startup, and shared values.

CloudBeaver connects to the TDP databases through pre-registered connections: the chart generates a data-sources.json from dataSources, in a ConfigMap with the fixed name tdp-cloudbeaver-data-sources, and the connections appear in a TDP folder in the CloudBeaver navigator.

By default, no connection is registered: enabledClickhouse and enabledTrino are off. The following scenarios turn on the ClickHouse connection (scenario 2) and the Trino connection (scenario 3) and pass the S3 variables to the pod (scenario 4).

You want the team to find TDP databases in CloudBeaver without registering anything, and need to understand when pre-registered connections take effect. CloudBeaver stores users, connections and settings in the workspace, which lives on the release PVC. At pod startup, the sync-workspace-config init container copies data-sources.json to the workspace only if the workspace does not already have one, that is, on first startup. Afterwards, CloudBeaver reads workspace connections, and interface changes remain on the PVC.

Chart default

No connections: enabledClickhouse and enabledTrino disabled.

On first installation

Set dataSources in the values file for the first installation. To apply new settings to an existing release, uninstall it (the workspace PVC is removed too) and install again, or edit the connection through the interface.

Shared values

database, user and password apply to both connections: with ClickHouse and Trino enabled together, both use the same default database, username and password.

Other databases

Registered through the interface: by the administrator or, with app.supportsCustomConnections enabled, by users themselves (see Security - CloudBeaver). CloudBeaver's own metadata in PostgreSQL is covered in CloudBeaver Configuration.

The preconfigured connections in the workspace

namespace <NAMESPACE>first startupUsersCloudBeaver navigatorCloudBeaverinit sync-workspace-configConfigMapdata-sources (fixed name)PVCworkspace
  1. Users. Find pre-registered connections in the CloudBeaver navigator's TDP folder, without registering anything.
  2. CloudBeaver. Before CloudBeaver starts, the sync-workspace-config init container copies data-sources.json from the ConfigMap to the workspace, only if the workspace does not already have one. CloudBeaver then reads connections from the workspace.
  3. Fixed name: tdp-cloudbeaver-data-sources. The data-sources.json generated by the chart from dataSources, with connections and the TDP folder. It contains connection passwords. Chart default: no connections. (tdp-cloudbeaver.dataSources)
  4. Workspace. Receives data-sources.json on first startup. Subsequent interface changes remain there, and the chart does not overwrite them.
The connection path: from ConfigMap to workspace, only on first startup. Click an element to see what it is.
1tdp-cloudbeaver:
2dataSources:
3 name: tdp-cloudbeaver-data-sources
4 enabledTrino: false
5 nameConnector: "Trino TDP"
6 trinoHost: ""
7 trinoPort: 8080
8 enabledClickhouse: false
9 clickhouseHost: ""
10 clickhousePort: 8123
11 database: "default"
12 user: ""

The ConfigMap name containing data-sources.json. One of the three fixed names limiting CloudBeaver to one instance per namespace.

  1. ConfigMap (linha 3). The ConfigMap name containing data-sources.json. One of the three fixed names limiting CloudBeaver to one instance per namespace.
  2. Trino (linha 4). Enables the Trino connection (scenario 3). The connection name comes from nameConnector.
  3. ClickHouse (linha 8). Enables the ClickHouse - TDP connection (scenario 2).
  4. Shared values (linha 11). database, user and the password in password apply to both connections.
The chart dataSources block

Check copying on first startup

The init container log says whether connections entered the workspace.

Terminal input
kubectl logs -n <NAMESPACE> deploy/<RELEASE_NAME> -c sync-workspace-config

Success criteria

The log contains Data sources configuration copied successfully. and connections appear in the CloudBeaver navigator's TDP folder.
If the log says Data sources configuration already exists, skipping copy.

The workspace was not clean. Reinstall the release (the PVC is removed too) or create the connection through the interface.

When something goes wrong​

Troubleshooting

Paste the error message or choose a symptom. The answer includes the cause, what to do and the command.

  1. The connection does not appear in the TDP folder. Cause: The workspace already contained data-sources.json when the pod started: copying only happens in a clean workspace. What to do: If the init container log says Data sources configuration already exists, skipping copy., the workspace was not clean. Reinstall the release (the PVC is removed too) or create the connection through the interface.
  2. Authentication failed when opening the ClickHouse connection. Cause: The user only accepts local connections, like ClickHouse default. What to do: Use a user created with HOST ANY (ClickHouse scenario). The ClickHouse log shows the reason.
  3. Wrong connection password. Cause: dataSources.password is not the user's password in ClickHouse. What to do: Compare dataSources.password with the user's password in ClickHouse. Then reinstall the release or fix the password in the connection settings through the interface.
  4. Other problem. Cause: Start with pod status and namespace events. What to do: Events in chronological order show what prevents the pod from starting.

Integration parameters​

Filter by name or group. The chart prefix is already filled in.

12 of 12 parameters

ParameterDescriptionChart default
tdp-cloudbeaver.dataSources.nameConnectionsConfigMap name containing data-sources.jsontdp-cloudbeaver-data-sources
tdp-cloudbeaver.dataSources.databaseConnectionsDefault connection database (shared by ClickHouse and Trino)default
tdp-cloudbeaver.dataSources.userConnectionsConnection user (shared by ClickHouse and Trino)""
tdp-cloudbeaver.dataSources.passwordConnectionsConnection password, stored in the ConfigMap (shared by ClickHouse and Trino)not set
tdp-cloudbeaver.dataSources.enabledClickhouseClickHouseRegisters the ClickHouse - TDP connectionfalse
tdp-cloudbeaver.dataSources.clickhouseHostClickHouseClickHouse Service host""
tdp-cloudbeaver.dataSources.clickhousePortClickHouseClickHouse HTTP port8123
tdp-cloudbeaver.dataSources.enabledTrinoTrinoRegisters the Trino connectionfalse
tdp-cloudbeaver.dataSources.nameConnectorTrinoTrino connection nameTrino TDP
tdp-cloudbeaver.dataSources.trinoHostTrinoTrino Service host""
tdp-cloudbeaver.dataSources.trinoPortTrinoTrino port8080
tdp-cloudbeaver.extraEnvVarsVariablesExtra pod environment variables (S3, external database)[]

Next steps​