Regression: RuleTemplate not automatically created with Namespace
@@ -122,6 +122,12 @@ func SeedCluster(ctx context.Context, store storev1.Store, client *clientv3.Clie
logger.WithError(err).Error("error bringing the database to the latest version")
return fmt.Errorf("error bringing the database to the latest version: %w", err)
}
+ if len(etcd.EnterpriseMigrations) > 0 {
+ if err = etcd.MigrateEnterpriseDB(ctx, client, etcd.EnterpriseMigrations); err != nil {
+ logger.WithError(err).Error("error bringing the enterprise database to the latest version")
+ return
+ }
+ }
}
// Set initialized flag
