IAM: turn off migration causing instances to crashloop (#94642)

This commit is contained in:
Aaron Godin 2024-10-11 12:46:34 -05:00 committed by GitHub
parent 65bcd72484
commit fa330900ff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -160,7 +160,8 @@ func addUserMigrations(mg *Migrator) {
mg.AddMigration(usermig.AllowSameLoginCrossOrgs, &usermig.ServiceAccountsSameLoginCrossOrgs{})
// Before it was fixed, the previous migration introduced the org_id again in logins that already had it.
// This migration removes the duplicate org_id from the login.
mg.AddMigration(usermig.DedupOrgInLogin, &usermig.ServiceAccountsDeduplicateOrgInLogin{})
// TODO(aarongodin): this migration was causing instances to fail to start. It must be corrected before being added
// mg.AddMigration(usermig.DedupOrgInLogin, &usermig.ServiceAccountsDeduplicateOrgInLogin{})
// Users login and email should be in lower case
mg.AddMigration(usermig.LowerCaseUserLoginAndEmail, &usermig.UsersLowerCaseLoginAndEmail{})