code: private void addTenantOptions(TenantDefinition tenantDef) {
          if (tenantDef.getOption("namespace") == null) {
              tenantDef.setOption("namespace", tenantDef.getName());
          }
      }
docs: By default, each tenant's namespace is the same as their tenant name.