Who gets into Superset
and with which role.
Four scenarios: replacing the credentials the chart ships with, login through LDAP, login through Active Directory, and directory groups converted into Superset roles. Each one covers: the chart default, what changes, and the values file commented line by line.
The tdp-superset chart starts Superset with local login and temporary secrets, identical in every installation. Security starts with replacing these secrets and continues, where applicable, with company account login through LDAP or Active Directory, choosing who can sign in and which role each person receives.
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
- 1 · Initial credentials
- 2 · LDAP login
- 3 · Active Directory
- 4 · Roles and groups
Secret key, admin password and embedded PostgreSQL passwords, each at the right time.
Before Superset moves beyond testing, three secrets need your own values. The secret key, which Superset uses to encrypt stored data source credentials; the admin password, for the first user, created during installation; and the embedded PostgreSQL passwords. All three ship with temporary values, identical in every installation, and each has its own timing: the key and database passwords apply from the first installation, while the admin password only applies when the user is created.
extraSecretEnv.SUPERSET_SECRET_KEY contains an example value. Replace it with a long random value before the first installation.
User admin with the temporary password from init.adminUser.password. It only applies when the user is created. Afterwards, change the password through the Superset interface.
Temporary password for the superset user in postgresql.auth.password, matching supersetNode.connections.db_pass, and for the administrator in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords.
The three secrets with temporary values
- Who signs in. Only users registered in Superset itself can sign in. The first is admin, created by the init Job. Chart default:
Superset's own users. - Superset. Without LDAP, Superset uses its own users. The admin is created on first installation, with the password from init.adminUser.password; afterwards, change the password through the interface. Chart default:
local login; admin with a temporary password. (tdp-superset.init.adminUser.password) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth)
The values file
All three secrets in a single private values file, outside version control. Each key's default values are in All parameters.
1tdp-superset:2extraSecretEnv:3 SUPERSET_SECRET_KEY: "<SECRET_KEY>"4init:5 adminUser:6 password: "<PASSWORD>"7postgresql:8 auth:9 postgresPassword: "<POSTGRES_PASSWORD>"10 password: "<DATABASE_PASSWORD>"11supersetNode:12 connections:13 db_pass: "<DATABASE_PASSWORD>"
Everything belonging to Superset goes under the subchart key. Without this prefix, Helm does not apply the block.
- Chart prefix (linha 1). Everything belonging to Superset goes under the subchart key. Without this prefix, Helm does not apply the block.
- Secret key (linha 3). Encrypts data source credentials stored in the metadata database. Set it before the first installation.
- Admin password (linha 6). Only applies when creating the admin user, on first installation.
- PostgreSQL administrator (linha 9). Embedded PostgreSQL administrator password.
- superset user (linha 10). Password Superset uses to connect to the metadata database.
- Same password (linha 13). Matches line 10. Both must be the same.
With external PostgreSQL, remove the postgresql.auth passwords from the file, set postgresql.enabled to false and leave db_pass empty: the database user's password is generated by the database creation Job and reaches Superset through the DB_PASS entry of extraEnvRaw, in the Metadata database configuration scenario.
Generate the secret key
A long random value.
openssl rand -base64 42
Write the values file
Replace the placeholders with the generated key and your passwords.
Keep this file outside version control: it stores the key and passwords in plaintext.
Install with the file
On first installation, all three secrets already apply.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-superset \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Without --version, Helm installs the latest published version.
Success criteria
admin user with the password you set, and no longer accepts the temporary password.If Superset was already installed
The admin password does not change with helm upgrade: change it through the Superset interface. Embedded PostgreSQL passwords remain on the database volume. A new installation in the same namespace finds the old ones unless you delete the data-<RELEASE_NAME>-postgresql-0 volume after helm uninstall.
Validate usernames and passwords in the directory and decide who can sign in.
This tab turns on LDAP login, so that people sign in to Superset with their company directory account instead of maintaining local users. By default, LDAP is off and only Superset's own users can sign in.
With LDAP on, Superset binds to the directory with a service account, a technical directory account, and searches for the person signing in. On first login, it creates the user with a default role. Two things must be ready: the Secret containing the service account password, created before installation, and the ldap block in the values file. A third is your decision: who can sign in.
LDAP disabled (ldap.enabled): only Superset's own users can sign in.
The ldap block becomes Superset's login configuration. The bind password is the only value read from the environment: it comes from the tdp-superset-ldap-secret Secret through the AUTH_LDAP_BIND_PASSWORD variable in extraEnvRaw.
With the (objectClass=person) filter and self-registration enabled, every account under the search base can sign in and gets a Superset user with the registration.defaultRole role.
The login path, with and without LDAP
Who can sign in
- Who signs in. People sign in with their company directory username and password. On first login, Superset creates the user with the default role. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - LDAP server. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. The (objectClass=person) filter accepts every account under the search base, and self-registration creates a Superset user at each account's first login. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.search.filter) - User role. During self-registration, the user receives the registration.defaultRole role. Chart default:
Public, with no group mapping. (tdp-superset.ldap.registration.defaultRole)
Who can sign in: Every directory account (example)
- Who signs in. People sign in with their company directory username and password. On first login, Superset creates the user with the default role. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - LDAP server. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. The (objectClass=person) filter accepts every account under the search base, and self-registration creates a Superset user at each account's first login. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.search.filter) - User role. During self-registration, the user receives the registration.defaultRole role. Chart default:
Public, with no group mapping. (tdp-superset.ldap.registration.defaultRole)
Who can sign in: One group only
- Who signs in. People sign in with their company directory username and password. On first login, Superset creates the user with the default role. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - LDAP server. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. The search filter requires group membership (memberOf). Only accounts in the group can sign in. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.search.filter) - User role. During self-registration, the user receives the registration.defaultRole role. Chart default:
Public, with no group mapping. (tdp-superset.ldap.registration.defaultRole)
Who can sign in: No self-registration
- Who signs in. People sign in with their company directory username and password, as long as they already have a Superset user, registered beforehand. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - LDAP server. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. Superset does not create users at login: only those with a previously created Superset user can sign in. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.registration.enabled: "False") - User role. Without self-registration, defaultRole does not apply: the user already exists in Superset before the first login, with the role given at registration. Chart default:
Public, with no group mapping. (tdp-superset.ldap.registration.enabled)
The values file
1tdp-superset:2ldap:3 enabled: true4 server:5 url: "ldap://<LDAP_HOST>:389"6 useTls: "False"7 bind:8 user: "cn=<LDAP_BIND_USER>,cn=users,cn=accounts,dc=<LDAP_DOMAIN>,dc=com"9 search:10 base: "cn=users,cn=accounts,dc=<LDAP_DOMAIN>,dc=com"11 filter: "(objectClass=person)"12 uidField: "uid"13 userAttributes:14 firstname: "givenName"15 lastname: "sn"16 email: "mail"17 registration:18 enabled: "True"19 defaultRole: "Public"20 roleSyncAtLogin: "True"2122extraEnvRaw:23 - name: AUTH_LDAP_BIND_PASSWORD24 valueFrom:25 secretKeyRef:26 name: tdp-superset-ldap-secret27 key: bind-password
The chart writes Superset's login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from this block.
- Enables LDAP (linha 3). The chart writes Superset's login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from this block.
- Server (linha 5). LDAP server address, including the port.
- TLS (linha 6). With "True", the connection to the directory uses TLS (see the text below the block).
- Bind account (linha 8). The service account that searches for users in the directory. Its password comes from the Secret at the end of the block.
- Search base (linha 10). Where accounts allowed to sign in are located.
- Filter (linha 11). Who can sign in. (objectClass=person) accepts every account under the base. The selector above shows how to restrict access.
- Login attribute (linha 12). The attribute containing the name a person enters at login.
- User attributes (linha 13). Where the first name, last name and email of the user created in Superset come from.
- Self-registration (linha 18). Creates the Superset user at first login, with the defaultRole role.
- Roles at each login (linha 20). Recalculates user roles at each login (Roles and groups scenario).
- Bind password (linha 23). The only LDAP setting read from the environment, from the Secret. extraEnvRaw is a list: keep other entries you already use in it, such as DB_PASS for the external database.
Every directory account. This is the example above, unchanged: every account under the search base can sign in, and each gets a Superset user at first login with the defaultRole role. Every directory account: Best suited when every account under the search base can use Superset. To restrict access, choose another option in the selector.
One group only. The filter now requires group membership, and only its accounts can sign in. One group only: Best suited when only the members of one directory group can use Superset.
Replace the filter line in the block above:
1tdp-superset:2ldap:3 search:4 filter: "(&(objectClass=person)(memberOf=cn=<LDAP_GROUP>,cn=groups,cn=accounts,dc=<LDAP_DOMAIN>,dc=com))"
Accounts must be people and group members. In Active Directory, the group is set in memberOf=CN=<LDAP_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>.
- Filter with group membership (linha 4). Accounts must be people and group members. In Active Directory, the group is set in memberOf=CN=<LDAP_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>.
No self-registration. Superset stops creating users at login: only people with a Superset user previously registered by an administrator can sign in. No self-registration: Best suited when an administrator decides who gets in, by registering each user in Superset before their first login.
Replace the self-registration setting in the block above:
1tdp-superset:2ldap:3 registration:4 enabled: "False"
The password is still validated in the directory, but the user must exist in Superset before the first login.
- Self-registration disabled (linha 4). The password is still validated in the directory, but the user must exist in Superset before the first login.
LDAP with TLS
With ldap.server.useTls: "True", the connection to the directory uses TLS. Superset validates the server certificate against the container's CA bundle at /etc/ssl/certs/ca-certificates.crt. To use a certificate from another CA, specify the file path in the AUTH_LDAP_TLS_CACERTFILE variable, also in extraEnvRaw. The file must exist inside the container.
Create the Secret containing the bind password
The pod reads its password from this Secret, so it must exist before installation or upgrade.
kubectl -n <NAMESPACE> create secret generic tdp-superset-ldap-secret \
--from-literal=bind-password=<LDAP_BIND_PASSWORD>
Add the LDAP block to the values file
Replace the server, bind account and domain placeholders with those for your directory.
If you already have a Superset values file, add the block to it. If the file already contains extraEnvRaw, add the AUTH_LDAP_BIND_PASSWORD entry to the existing entries in the same list.
Apply to the release
Pods restart with directory login.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-superset \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Without --version, Helm installs the latest published version.
Success criteria
A directory account signs in to the Superset interface and becomes a user with the defaultRole role.
An account in the group signs in to the Superset interface and becomes a user with the defaultRole role. An account outside the group cannot sign in.
A user registered beforehand in Superset signs in with the directory password.
If pods do not start after the upgrade
Check that the Secret exists in the release namespace:
kubectl -n <NAMESPACE> get secret tdp-superset-ldap-secret
The same LDAP keys, with AD attributes.
The company directory is Active Directory (AD). Configuration starts from the LDAP configuration (scenario 2) and requires three adjustments in the ldap block. Without them, login does not work.
- Login name. AD identifies each person by
sAMAccountName. Setsearch.uidField: "sAMAccountName". - Where accounts are located. In AD, accounts are in a CN-based tree, under the domain's
CN=Users. Point the service account there, inbind.user: "CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>", and the search insearch.base: "CN=Users,DC=<DOMAIN>,DC=<TLD>". - Email. Many AD directories do not populate
mailfor every account, but AD always populatesuserPrincipalName(<user>@<domain>). SetuserAttributes.email: "userPrincipalName".
On first login, Superset creates the user with the email read from AD. If the email is empty, the user is not created and every login is rejected, with no log error. Adjustment 3 prevents this.
The bind password Secret and procedure are the same as in scenario 2. The complete file is just below, with each line explained.
As with LDAP, (objectClass=person) accepts every AD account. To restrict access to a group, use the scenario 2 filter with memberOf=CN=<LDAP_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>.
Login through Active Directory
- Who signs in. People sign in with their company directory username and password. On first login, Superset creates the user with the default role. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - Active Directory. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. In AD, email comes from userPrincipalName, which is always populated. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. The (objectClass=person) filter accepts every account under the search base, and self-registration creates a Superset user at each account's first login. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.search.filter) - User role. During self-registration, the user receives the registration.defaultRole role. Chart default:
Public, with no group mapping. (tdp-superset.ldap.registration.defaultRole)
The values file
1tdp-superset:2ldap:3 enabled: true4 server:5 url: "ldap://<AD_HOST>:389"6 useTls: "False"7 bind:8 user: "CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>"9 search:10 base: "CN=Users,DC=<DOMAIN>,DC=<TLD>"11 filter: "(objectClass=person)"12 uidField: "sAMAccountName"13 userAttributes:14 firstname: "givenName"15 lastname: "sn"16 email: "userPrincipalName"17 registration:18 enabled: "True"19 defaultRole: "Public"2021extraEnvRaw:22 - name: AUTH_LDAP_BIND_PASSWORD23 valueFrom:24 secretKeyRef:25 name: tdp-superset-ldap-secret26 key: bind-password
The AD address, including the port.
- Domain controller (linha 5). The AD address, including the port.
- Bind account (linha 8). AD service account in the CN tree.
- Search base (linha 10). AD accounts are in CN=Users, not a flat OU.
- Login (linha 12). AD identifies people by sAMAccountName.
- Email (linha 16). userPrincipalName (<user>@<domain>) is always populated by AD. With mail, accounts lacking an email would be excluded, and login would be rejected with no log error.
- Entire list (linha 21). extraEnvRaw is a list and this block replaces it entirely: include other entries you already use, such as DB_PASS for the external database.
Create the Secret containing the bind password
The AD service account password, before installation or upgrade.
kubectl -n <NAMESPACE> create secret generic tdp-superset-ldap-secret \
--from-literal=bind-password=<LDAP_BIND_PASSWORD>
Add the block to the values file
Replace the domain controller, bind account and domain with your own.
If the file already contains extraEnvRaw, add the AUTH_LDAP_BIND_PASSWORD entry to the existing ones.
Apply to the release
Pods restart with AD login.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-superset \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Without --version, Helm installs the latest published version.
Success criteria
sAMAccountName and password, and becomes a Superset user.If every login is rejected with no log error
The account's email is empty. Check that ldap.userAttributes.email is set to userPrincipalName.
Give each directory group a Superset role.
This tab gives each directory group a role in Superset, the set of permissions of whoever signs in. With directory login working, every new user receives the same default role. You want the role to follow the directory group: one group gets one role, another gets a different one, and a directory group change reaches Superset automatically. The chart does this with a group-to-role mapping, read from each account's group attribute.
No mapping (ldap.roleMapping empty): every user created at login receives the registration.defaultRole role. Groups are read from memberOf (ldap.groupField) and roles are recalculated at each login (ldap.roleSyncAtLogin).
Admin, Alpha, Gamma and Public are Superset's built-in roles. What each allows is described in the Superset security documentation.
The role set by the directory group
- Who signs in. People sign in with their company directory username and password. On first login, Superset creates the user with the default role. Chart default:
Superset's own users. - Superset. With ldap.enabled, the chart writes the Superset login configuration (AUTH_TYPE = AUTH_LDAP and AUTH_LDAP_*) from the values file's ldap block. Chart default:
local login; admin with a temporary password. (tdp-superset.ldap.enabled: true) - Secret key. Superset uses it to encrypt data source credentials stored in the metadata database. The default is an example value: replace it before the first installation. Chart default:
SUPERSET_SECRET_KEY (example value). (tdp-superset.extraSecretEnv.SUPERSET_SECRET_KEY) - Embedded PostgreSQL passwords. The superset user's password is set in postgresql.auth.password and supersetNode.connections.db_pass, with matching values. The administrator's password is set in postgresql.auth.postgresPassword. The volume remains in the cluster after helm uninstall, with the old passwords. Chart default:
temporary passwords. (tdp-superset.postgresql.auth) - Secret tdp-superset-ldap-secret. Stores the bind account password in the bind-password key. Create it before installation; the password reaches the pod through the AUTH_LDAP_BIND_PASSWORD variable, declared in extraEnvRaw. Chart default:
does not exist. (tdp-superset.extraEnvRaw) - LDAP server. Superset binds with the service account, searches for the person signing in under the search base by the login attribute, and reads their name and email. Chart default:
disabled. (tdp-superset.ldap.server.url · tdp-superset.ldap.search) - Who can sign in. The (objectClass=person) filter accepts every account under the search base, and self-registration creates a Superset user at each account's first login. Chart default:
(objectClass=person), with self-registration. (tdp-superset.ldap.search.filter) - User role. Directory groups, read from the groupField attribute, become Superset roles through roleMapping. With roleSyncAtLogin, the role is recalculated at each login. Chart default:
Public, with no group mapping. (tdp-superset.ldap.roleMapping)
The values file
1tdp-superset:2ldap:3 roleMapping:4 "cn=<LDAP_GROUP>,cn=groups,cn=accounts,dc=<LDAP_DOMAIN>,dc=com":5 - "<SUPERSET_ROLE>"6 groupField: "memberOf"7 roleSyncAtLogin: "True"
Each key is a directory group's full DN. The value is the list of Superset roles its members receive.
- Mapping (linha 3). Each key is a directory group's full DN. The value is the list of Superset roles its members receive.
- Roles (linha 5). Admin, Alpha, Gamma, Public or a role created in Superset.
- Group attribute (linha 6). The account attribute that lists its groups.
- At each login (linha 7). The user's roles are recalculated from groups at each login, and a directory group change reaches Superset at the next login.
Add the mapping to the LDAP block
In the same values file used for LDAP or AD login.
Replace the group and domain with those in your directory. In Active Directory, use the group's DN in AD format.
Apply to the release
The mapping applies starting from each user's next login.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-superset \
--version 3.0.3 \
-n <NAMESPACE> --create-namespace --timeout 10m \
-f <VALUES_FILE>
Without --version, Helm installs the latest published version.
Success criteria
When something goes wrong
Troubleshooting
Paste the error message or choose a symptom. The answer includes the cause, what to do and the command.