If the OP is required to keep the water heater under warranty per HOA rules, you might as well do it right the first time by installing this Rheem unit from Home Depot:I’ll bet it stems from water heaters letting go and leaking. In a multi story condo that is absolutely fatal. Their solution is to have a simple age limit.
Rheem Lifetime Warranty 40 gal. Water Heater
Like the old adage: "Buy once, cry once!"