Validate Topic Configuration before deploying to Kuberenetes cluster

Hi,
I have a situtation where I want to validates some of the topic config before creating the topic in Kuberenetes cluster. Like topic name or some other config as per the organization standards.
Kafka topic configuration reference | Confluent Documentation

As an example, cleanup.policy I want to have as a compact and nothing else. Or Topic name should be following some specified standard.
How can I automate those rules before Topic creation in the cluster ? If some one is not follwoing the standard it should throw error.

For Kubernetes specifically, you’d do this with an admission webhook such as OPA policies