Skip to main content
Version 3.0

Who gets into OpenMetadata
and with which role.

Six scenarios: changing the administrator's password without breaking the service registration, login through LDAP or Active Directory, validating the directory certificate, who gets in and with which role, and changing the authentication after the first installation. Each one covers: the chart default, what changes in the cluster, and the values file commented line by line.

ChartVersion3.0.3TypeapplicationAppVersion1.12.4
CompatibilityKubernetes1.32+OpenShift4.19+Rancher2.10.x+

The tdp-openmetadata chart starts OpenMetadata with local login and an initial administrator with a temporary password. Corporate login (LDAP or Active Directory), the directory certificate and the roles by group are turned on in the values file, and the chart reapplies this configuration on every server start, so that the values file is always the reference.

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​

Change the temporary password and keep the registration Job working.

OpenMetadata started with the initial administrator admin@open-metadata.org and the temporary password ChangeMe!T3c, the same as the other TDP charts. You will change it in the UI, and you need the service registration Job to keep working: it logs in to the API with the credentials in datasourcesIntegration.openmetadata.auth, which do not follow the change on their own. These credentials do not change any password in OpenMetadata: they only tell the Job which one to use.

Chart default

Administrator created by initialAdmins, in the user:password format. The password only applies when the user is created. The Job uses admin@open-metadata.org with the temporary password written in the values file, and the Helm output shows these credentials.

After the change

If the Job credentials keep the old password, it fails on the next install or upgrade. With no service enabled, the Job ends before the login and the change does not affect it.

The password the Job uses

Where the password the Job uses is kept

Your choice changes the commands and passages below.

namespace <NAMESPACE>loginconfigurationAPIWho logs inlocal accountOpenMetadata serverprovider: basicMetadata databasecopy of the configurationRegistration Jobpassword in the file
  1. Who logs in. Local accounts: the initial administrator and whoever signs up through the UI. Chart default: local accounts, with self-signup.
  2. OpenMetadata server. Validates the login against the accounts stored in the metadata database. Chart default: basic. (tdp-openmetadata.openmetadata.config.authentication.provider)
  3. Stored copy of the configuration. The server stores authentication and authorizer in the database. The chart deletes this copy before every start, and the server stores again what is in the values. Chart default: synchronization on. (tdp-openmetadata.syncSecurityConfigFromValues)
  4. Service registration Job. Logs in to the API with datasourcesIntegration.openmetadata.auth to register the enabled services. These credentials do not change any password in OpenMetadata: they have to follow the administrator's password. Chart default: admin@open-metadata.org, with the temporary password in the file. (datasourcesIntegration.openmetadata.auth)

Where the password the Job uses is kept: In the values file (default)

namespace <NAMESPACE>loginconfigurationAPIWho logs inlocal accountOpenMetadata serverprovider: basicMetadata databasecopy of the configurationRegistration Jobpassword in the file
  1. Who logs in. Local accounts: the initial administrator and whoever signs up through the UI. Chart default: local accounts, with self-signup.
  2. OpenMetadata server. Validates the login against the accounts stored in the metadata database. Chart default: basic. (tdp-openmetadata.openmetadata.config.authentication.provider)
  3. Stored copy of the configuration. The server stores authentication and authorizer in the database. The chart deletes this copy before every start, and the server stores again what is in the values. Chart default: synchronization on. (tdp-openmetadata.syncSecurityConfigFromValues)
  4. Service registration Job. Logs in to the API with datasourcesIntegration.openmetadata.auth to register the enabled services. These credentials do not change any password in OpenMetadata: they have to follow the administrator's password. Chart default: admin@open-metadata.org, with the temporary password in the file. (datasourcesIntegration.openmetadata.auth)

Where the password the Job uses is kept: In a Secret

namespace <NAMESPACE>loginconfigurationAPIWho logs inlocal accountOpenMetadata serverprovider: basicMetadata databasecopy of the configurationRegistration Jobpassword in a Secret
  1. Who logs in. Local accounts: the initial administrator and whoever signs up through the UI. Chart default: local accounts, with self-signup.
  2. OpenMetadata server. Validates the login against the accounts stored in the metadata database. Chart default: basic. (tdp-openmetadata.openmetadata.config.authentication.provider)
  3. Stored copy of the configuration. The server stores authentication and authorizer in the database. The chart deletes this copy before every start, and the server stores again what is in the values. Chart default: synchronization on. (tdp-openmetadata.syncSecurityConfigFromValues)
  4. Service registration Job. Logs in to the API with datasourcesIntegration.openmetadata.auth to register the enabled services. These credentials do not change any password in OpenMetadata: they have to follow the administrator's password. Chart default: admin@open-metadata.org, with the temporary password in the file. (datasourcesIntegration.openmetadata.auth)
Toggle above: with a Secret, the password leaves the values file.

In the values file. After changing the password in the UI, write the new password in the Job block. The password stays in the values file and appears in the Helm output.

Click the markers to understand each line.

1datasourcesIntegration:
2openmetadata:
3 auth:
4 provider: "basic"
5 username: "admin@open-metadata.org"
6 password: "<PASSWORD>"

The Job block sits at the root of the values file, not under tdp-openmetadata.

  1. At the root (linha 1). The Job block sits at the root of the values file, not under tdp-openmetadata.
  2. The new password (linha 6). The same one you set in the UI. This value does not change the password in OpenMetadata.
Job credentials in the values file

In a Secret. The Job reads the password from a Secret in the release namespace, and the values file holds only the Secret name and key.

Click the markers to understand each line.

1datasourcesIntegration:
2openmetadata:
3 auth:
4 provider: "basic"
5 username: "admin@open-metadata.org"
6 passwordSecret:
7 enabled: true
8 name: "<SECRET_NAME>"
9 key: "<SECRET_KEY>"

With enabled: true, set the Secret name and key. The Secret must exist in the release namespace.

  1. passwordSecret (linha 6). With enabled: true, set the Secret name and key. The Secret must exist in the release namespace.
Job credentials in a Secret

Change the password in the UI

The temporary password is for testing only.

Log in as admin@open-metadata.org, open the user menu and choose Change Password.

Create the Secret with the new password

Only with the password in a Secret. With the password in the file, skip this step.

Terminal input
kubectl -n <NAMESPACE> create secret generic <SECRET_NAME> \
--from-literal=<SECRET_KEY>=<PASSWORD>

Apply it to the release

helm upgrade recreates the Job, which registers the services again with the new password.

Terminal input
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-openmetadata \
--version 3.0.3 \
-n <NAMESPACE> \
-f <VALUES_FILE> \
--wait --wait-for-jobs --timeout 20m

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

It worked when

The command finishes without error. The registration Job disappears when it finishes successfully. If it fails, it stays in the cluster for a while, and the log shows the reason:

Terminal input
kubectl -n <NAMESPACE> get jobs
kubectl -n <NAMESPACE> logs job/<RELEASE_NAME>-register-datasources

When something goes wrong​

Troubleshooting

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

  1. Server restarts: [LDAP] Issue in creating a LookUp Connection. Cause: The server did not open the connection pool to the directory: unreachable host, wrong bind password or a certificate that the truststore rejects (for example, JVMDefault with a certificate from a private CA). What to do: Fix the values and apply again. With synchronization off, that is not enough: follow scenario 6, "If the server does not start".
  2. Login rejected with the username. Cause: The OpenMetadata login asks for the email: the value of the attribute set in mailAttributeName, not the username. What to do: Log in with the email. In Active Directory, with mailAttributeName: userPrincipalName, use the full UPN (user@domain.tld).
  3. With LDAP, nobody can log in as administrator. Cause: The initial administrator is still created by initialAdmins, but with LDAP their login is validated in the directory, where they may not exist. What to do: Create that user in the directory or change initialAdmins to an account that exists there.
  4. A change made in the UI comes back after a restart. Cause: With synchronization on (default), the server reapplies the authentication from the values on every start. What to do: Make the change in the values file and apply it with helm upgrade.
  5. I changed the values and nothing changed. Cause: syncSecurityConfigFromValues: false: the server only reads the copy stored at the first installation. The helm upgrade output warns about this. What to do: Remove the stored copy and restart, or set synchronization back to true (scenario 6).
  6. Anyone in the directory can log in. Cause: There is no LDAP search filter: with self-signup on, every entry under userBaseDN with the email attribute and a valid password gets in. What to do: Point userBaseDN at an OU with only OpenMetadata users, restrict what the bind account reads, or turn off enableSelfSignup (scenario 5).
  7. A directory group does not give the expected role. Cause: The mapping key is not equal, character by character, to the group DN; the user is a member of a nested group only; the role does not exist in OpenMetadata; or the role is not in authReassignRoles. What to do: Check the group's exact DN, direct membership and the role names. A nonexistent role appears in the log and is ignored.
  8. Registration Job fails with an authentication error. Cause: The administrator password was changed in the UI, but datasourcesIntegration.openmetadata.auth still has the old one. What to do: Update the credentials or point passwordSecret to a Secret with the new password, and run helm upgrade with the same values (scenario 1).

Best practices​

secretRef takes the bind password out of the values file and out of Git, but the server stores the value read from the Secret, in clear text, in the copy of the configuration in the metadata database. The same goes for the truststore password. Therefore:

  • use a dedicated bind account that only reads the user and group entries OpenMetadata needs;
  • treat the metadata database and its backups as holding this credential;
  • delete the files generated by get-security-config when you are done and do not version them;
  • use LDAPS (sslEnabled: true) and never TrustAll;
  • change the administrator's temporary password right after the installation and, for the registration Job, prefer the password in a Secret (passwordSecret) over the password in the values file.

All parameters​

The chart prefix is already filled in. Keys without a prefix sit at the root of the values file.

22 of 22 parameters

ParameterDescriptionChart default
tdp-openmetadata.syncSecurityConfigFromValuesAuthenticationApplies authentication/authorizer from the values on every server start, not only on the first installationtrue
tdp-openmetadata.openmetadata.config.authentication.providerAuthenticationLogin mode: basic or ldapbasic
tdp-openmetadata.openmetadata.config.authentication.enableSelfSignupAuthenticationAllows self-signup. With LDAP, every entry under userBaseDN gets a user on first logintrue
tdp-openmetadata.openmetadata.config.authorizer.initialAdminsAuthenticationInitial administrators, as user or user:password (the password only applies when the user is created)["admin:ChangeMe!T3c"]
tdp-openmetadata.openmetadata.config.authorizer.principalDomainAuthenticationDomain appended to initialAdminsopen-metadata.org
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.hostLDAPDNS name of the LDAP server, as in the certificatenot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.dnAdminPrincipalLDAPBind account DNnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.dnAdminPasswordLDAPBind account password, through secretRef and secretKeynot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.userBaseDNLDAPWhere users are looked upnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.mailAttributeNameLDAPAttribute compared with the email typed at loginnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.sslEnabledLDAPTurns on LDAPS. When off, passwords cross the network in clear textnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.truststoreConfigTypeLDAPJVMDefault (the JVM's default CAs) or CustomTrustStore (mounted truststore)not set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.groupBaseDNGroups and rolesWhere groups are looked upnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.allAttributeNameGroups and rolesAttributes returned by the search. * is also the marker for all roles in authReassignRolesnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.authRolesMappingGroups and rolesJSON from group DN to list of rolesnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.authReassignRolesGroups and rolesRoles that the mapping sets and removes on each loginnot set
tdp-openmetadata.openmetadata.config.authentication.ldapConfiguration.roleAdminNameGroups and rolesName that, in the mapping, turns on the administrator flagnot set
tdp-openmetadata.extraVolumesVolumesExtra server volumes. The list replaces the chart's (keep om-logs)om-logs (emptyDir)
tdp-openmetadata.extraVolumeMountsVolumesMount points of the extra volumesom-logs at /opt/openmetadata/logs
datasourcesIntegration.openmetadata.auth.usernameRegistration JobUser the Job uses to log in to the API. Shown in the Helm output with basicadmin@open-metadata.org
datasourcesIntegration.openmetadata.auth.passwordRegistration JobPassword the Job uses to log in. Does not change any password in OpenMetadataChangeMe!T3c
datasourcesIntegration.openmetadata.auth.passwordSecret.enabledRegistration JobReads the password from a Secret in the release namespace, with name and keyfalse

Next steps​