It’s easy to see why Mayor de Blasio is giving Carlina Rivera and her rich hubby a pass for living in a taxpayer-subsidized apartment: They’re political allies — and, besides, the couple is technically not breaking the law.

Hey, not being indicted is the standard Hizzoner uses for himself — no matter how disgusting the practice.

On Tuesday, The Post reported that Rivera, who won her bid for City Council this week with de Blasio’s support, lives with her yacht-racing hubby in a taxpayer-subsidized Section 8 apartment — even though he owns another $320,000 unit nearby and comes from a wealthy family.

Disgusting? Sure, but not to de Blasio. He says Rivera broke no laws (owning another apartment somehow didn’t disqualify the couple for Section 8 housing) — so therefore she has acted “appropriately.”

And never mind that the couple is depriving a more needy family of an affordable apartment — at taxpayers’ expense.

It’s all so familiar. After all, de Blasio himself deems his own pay-to-play behavior for the past four years “appropriate,” even though they triggered a raft of probes. His reasoning? He was never officially charged with a crime.

That is, it’s OK to do special favors for fat-cat donors, so long as you’re not caught.

Yet in not seeking charges, Manhattan DA Cy Vance Jr. made it clear that Team de Blasio violated the “spirit” of campaign-finance laws. Hizzoner’s fundraising for state Senate candidates, said Vance, was “intended to evade campaign-finance limits.”

De Blasio insists he acted “appropriately,” because he got away with his actions. It’s a repugnant way to conduct city business.

Legal or not, New Yorkers should be outraged by both Rivera’s and de Blasio’s shenanigans. Lucky for voters, they’ll have an opportunity to voice that outrage in just two months — on Election Day.