Preheat the oven to 375 degrees Fahrenheit. Prepare a rimmed baking sheet with parchment paper and set aside.
Coat the cut sides of the spaghetti squash with 1 tablespoon of olive oil. Sprinkle with 1/2 teaspoon of kosher salt and a dash of black pepper. Place the cut side down on the parchment-lined baking sheet. Bake the squash for 40 minutes until it is just fork-tender. (Read in the post about how to tell when a spaghetti squash is done.) Remove from the oven and flip to cut side up. Allow to cool for 20 minutes.
1 medium spaghetti squash
While the squash is roasting, heat 2 tablespoons olive oil in a skillet. Add the onion, garlic, and jalapeño. Season with 1/2 teaspoon kosher salt, a dash of pepper, chili powder, smoked paprika, and ground cumin. Cook until the onion is translucent, about 5 minutes.
1 small yellow onion, 2 garlic cloves, 1 teaspoon chili powder, 1/2 teaspoon smoked paprika, 1/2 teaspoon ground cumin, 1 jalapeño
Drain the canned tomatoes very well. I like to do this by placing them in a metal sieve inside of a bowl and allowing them to thoroughly drain while I'm preparing the other ingredients.
Once cooled, scrape the squash into a large bowl. Drain any liquid that has accumulated in the bottom before moving on to the next step. Add the onion and spice mixture, the black beans, frozen corn, roasted tomatoes, and cheese. Stir to combine.
15 ounces black beans, 15 ounces diced fire roasted tomatoes, 1 1/2 cups cheddar cheese, 1 cup frozen corn
Spray a 9-by-13-inch baking dish with cooking spray. Add the mixture to the baking dish. Bake for 20-25 minutes uncovered. The casserole is done when the edges begin to brown and the cheese is fully melted. Serve with more cheese, pickled jalapeños, and fresh tomatoes.