In order to configure policy, user supposed to write policy in rego format and push the policy to github repository.
Then the github repository should be mentioned on the controlplane config file.
sample controlplane config with policy_repo
postgres_host: "streak-production-final.cyym8n3wehdv.ap-south-1.rds.amazonaws.com"