Skip to content

Make constraint template maintainace easier at scaleΒ #4329

@JaydipGabani

Description

@JaydipGabani

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 -

  1. Use helm function to compile constraint template via helm template, add example how to do this in the docs if possible.
  2. gator compile command to copile CT from different files - from tmpl, rego, schema files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions