Secrets: Remove feature toggle check in dependency register (#110026)

This commit is contained in:
Matheus Macabu
2025-08-22 13:14:18 +02:00
committed by GitHub
parent 3e79ccabe9
commit 33ca5f166f
-5
View File
@@ -24,11 +24,6 @@ func RegisterDependencies(
return nil, fmt.Errorf("registering access control roles: %w", err)
}
// TODO: Remove once the DB schema is more stable.
if !features.IsEnabledGlobally(featuremgmt.FlagSecretsManagementAppPlatform) {
return nil, nil
}
// We shouldn't need to create the DB in HG, as that will use the MT api server.
if cfg.StackID == "" {
// Some DBs that claim to be MySQL/Postgres-compatible might not support table locking.