Describe the solution you'd like
[A clear and concise description of what you want to happen.]
At kubecon one of the feedback was that it is hard to interpret ConstraintTemplates when it is too long and it is difficult to maintain as well. They wanted to keep the rego files seperate so that rego code can be tested and maintained seperately from constraint template. We do this in the gatekeeper-library currently.
a gator compile command may help users compile constraint templates and improve maintainability.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
- Gatekeeper version:
- Kubernetes version: (use
kubectl version):