No simple way to embed Rego policy at scale into the constraint template. User may want Rego files separate to maintain unit tests.
Couple of ideas -
- Use helm function to compile constraint template via
helm template, add example how to do this in the docs if possible.
gator compile command to copile CT from different files - from tmpl, rego, schema files