We have an unlocked package with some custom metadata records. These custom metadata records contain record ids for data in the org, which are configured by our admins after package installation.
The issue we are running into is that when we upgrade the package, it is overwriting these ids in the custom metadata records.
Is there a way / best practice to avoid this? Whether it be just not overwriting these values, some post install script, or other?