docs icon indicating copy to clipboard operation
docs copied to clipboard

Docs on using CUE and Rego to craft policies in policy-controller

Open amdawson opened this issue 2 years ago • 1 comments

There are a couple of policy examples in the policy-controller docs that use cue policies, but I can't find any documentation that specifically address CUE and Rego support and how it works.

  • Here's how to craft a CUE policy, here is the spec/language reference
  • Here's how Rego policies work, here is the reference on how they need to be written (including custom error messages)

amdawson avatar Feb 10 '23 17:02 amdawson

@amdawson I'm interested to take this up! Can you please provide me with some resources to get started? Or if you have anything specific regarding this, feel free to share! 😄

Neilblaze avatar Apr 01 '23 12:04 Neilblaze