Metadata for Confluence is integrated with Comala Publishing. As a consequence, you can configure metadata sets and fields in your draft space. When you publish the space to your target space, all metadata will be copied to the target space.
You can find further information how Comala Publishing works in their documentation.