Upgrade from 23 to 24 within Kubernetes Environment

I am attempting an upgrade from v23 to v24 with the official helm charts. Can I re-use the old internal database (MariaDB) or will this attempt break things?