Skip to main content
Version 3.0

Who gets into CloudBeaver
and with which account.

Four scenarios: changing the administrator's password, team login through LDAP, login through Active Directory, and who can create connections. Each one covers: the chart default, what changes in the cluster, and the values file commented line by line.

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

The tdp-cloudbeaver chart starts CloudBeaver with the local login and an administrator with a temporary password. LDAP, which also serves Active Directory, comes disabled. When enabled, it sits alongside the local login, and the password of the directory's technical user lives in a Secret that you create before the installation. Who can create their own connections is another decision, independent of the login.

Your environment

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

Scenarios​

Set the administrator's password at installation, in place of the temporary one.

This scenario sets the CloudBeaver administrator's password, the local account that manages connections and teams.

The chart creates the CloudBeaver administrator on the first start, to skip the setup wizard, and uses a temporary password, the same one across all TDP charts. You want to install already with your own password. It goes in a private values file, kept out of Git, and the chart also stores it in the tdp-cloudbeaver-admin-secret Secret. CloudBeaver only reads this password with a clean workspace: after the first start, the change is made through the interface.

Chart default

User from initialData.adminName (it cannot be admin) and the temporary password ChangeMe!T3c, from adminSecret.data.password. Replace it before using CloudBeaver for anything beyond testing.

Clean workspace

The workspace lives in the release's PVC, and helm uninstall deletes it: a new installation starts clean. With persistence.existingClaim, the PVC is yours. Delete or empty it before reinstalling.

The administrator password on first start

namespace <NAMESPACE>Who signs inLOCAL tabCloudBeaverlocal loginConfigMap<RELEASE_NAME>-cloudbeaver-confAdmin Secretfixed name
  1. Who signs in. Only the local login exists: the administrator created by the chart and the users it registers in CloudBeaver. Chart default: local login only.
  2. CloudBeaver. Without LDAP, CloudBeaver offers only the local login. Chart default: LDAP off. (tdp-cloudbeaver.ldap.enabled)
  3. cloudbeaver.conf. Generated by the chart from the values file. It lists the login providers in enabledAuthProviders and, with LDAP enabled, carries the LDAP provider block. Before CloudBeaver starts, the sync-workspace-config init container puts the bind password in it, read from the Secret. Chart default: enabledAuthProviders: local.
  4. Fixed name: tdp-cloudbeaver-admin-secret. Holds the administrator's password, which CloudBeaver reads on the first start, with the workspace empty. After that, the password is changed through the interface. Chart default: temporary password. (tdp-cloudbeaver.adminSecret.data.password)
The administrator's password comes from the fixed-name Secret and only applies on the first start. Click an element to see what it is.

The password stays only in your values file, out of Git.

1tdp-cloudbeaver:
2adminSecret:
3 data:
4 password: "<PASSWORD>"

Applies only to a clean workspace. Changing this value and running helm upgrade on a workspace that has already started does not change the password.

  1. Administrator password (linha 4). Applies only to a clean workspace. Changing this value and running helm upgrade on a workspace that has already started does not change the password.
Administrator password

Install with your values file

On a clean workspace, the administrator is created with your password.

Terminal input
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-cloudbeaver \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace \
-f <VALUES_FILE>

--version pins the chart version. Without --version, Helm installs the latest published version.

It worked when

You sign in through the LOCAL tab of the login page with the user from initialData.adminName and the password from your file.
If the old password still works

The workspace was not clean. Change the password through the CloudBeaver interface or, to start from scratch, uninstall the release (the workspace PVC goes with it) and install again.

When something goes wrong​

Troubleshooting

Paste the error message or pick the symptom. The answer comes with the cause, what to do, and the command.

  1. The LDAP option does not appear at login. Cause: LDAP did not reach cloudbeaver.conf: ldap.enabled is not enabled in the applied values file. What to do: In the ConfigMap, enabledAuthProviders must list "ldap" and authConfigurations must carry the LDAP provider with "disabled": false. Also check the logs.
  2. Pod stuck in init: bind password Secret is not mounted. Cause: LDAP is enabled, but the Secret with the bind password does not exist in the namespace, or has a different name or key. What to do: Create the Secret with the name from ldap.bind.passwordSecretName and the key from ldap.bind.passwordSecretKey, and restart the pod.
  3. LDAP authentication failure. Cause: The pod cannot reach the LDAP server, the bind password in the Secret is wrong, or the user is not under userSearch.baseDN. What to do: Test the connection from the pod, check the password stored in the Secret, and confirm that userSearch.baseDN contains the users.
  4. Failed to determine userId from user DN. Cause: userSearch.userIdAttribute is not the RDN attribute of the user's DN. In Active Directory, the login is by sAMAccountName, but the identifier comes from the DN (CN=...). What to do: In AD, use userIdAttribute: "CN", in uppercase, and loginAttribute: "sAMAccountName".
  5. User attributes not found. Cause: The directory users do not have the attribute configured in userSearch.userIdAttribute. What to do: Check a user's attributes with ldapsearch and adjust userIdAttribute.
  6. The administrator's password did not change after helm upgrade. Cause: The adminSecret.data.password password only applies on the first start, with the workspace empty. What to do: Change the administrator's password through the CloudBeaver interface. To return to a clean workspace, see the Initial credentials scenario.

Best practices​

  • Replace the administrator's temporary password before using CloudBeaver for anything beyond testing.
  • Use LDAPS (useSSL: true) in production.
  • Use a dedicated bind technical user, with the minimum permissions.
  • Keep the LDAP server reachable only from authorized networks.
  • Do not store passwords in Git: use private values files, Kubernetes Secrets, and, in production, a secrets management tool.

All parameters​

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

16 of 16 parameters

ParameterDescriptionChart default
tdp-cloudbeaver.initialData.adminNameAdministratorAdministrator user (it cannot be admin)cbadmin
tdp-cloudbeaver.adminSecret.nameAdministratorSecret with the administrator's passwordtdp-cloudbeaver-admin-secret
tdp-cloudbeaver.adminSecret.data.passwordAdministratorAdministrator's password. Only applies to a clean workspaceChangeMe!T3c
tdp-cloudbeaver.ldap.enabledLDAPEnables login through LDAP, alongside the local loginfalse
tdp-cloudbeaver.ldap.server.hostLDAPHost of the LDAP server or the domain controller""
tdp-cloudbeaver.ldap.server.portLDAPLDAP server port389
tdp-cloudbeaver.ldap.server.useSSLLDAPEnables LDAPSfalse
tdp-cloudbeaver.ldap.bind.dnLDAPDN of the bind technical user""
tdp-cloudbeaver.ldap.bind.passwordSecretNameLDAPSecret with the bind password (without a value, the chart looks for tdp-cloudbeaver-ldap-bind)""
tdp-cloudbeaver.ldap.bind.passwordSecretKeyLDAPKey of the password in the Secretpassword
tdp-cloudbeaver.ldap.userSearch.baseDNLDAPBase where users are searched""
tdp-cloudbeaver.ldap.userSearch.filterLDAPLDAP filter for the users(objectClass=person)
tdp-cloudbeaver.ldap.userSearch.userIdAttributeLDAPAttribute that identifies the user (in AD, CN)uid
tdp-cloudbeaver.ldap.userSearch.userNameAttributeLDAPAttribute with the user's name (in AD, cn)givenName
tdp-cloudbeaver.ldap.userSearch.loginAttributeLDAPAttribute the person signs in with (in AD, sAMAccountName)uid
tdp-cloudbeaver.app.supportsCustomConnectionsConnectionsLets authenticated users create their own connectionsfalse

Next steps​