opa gatekeeper v3.14.0

ConstraintTemplate.spec.targets[].code

The source code options for the constraint template. "Rego" can only be specified in one place (either here or in the "rego" field)

2 fields
ConstraintTemplate.spec.targets[].code fields and descriptions
Field / TypeDescription
engine
string required

The engine used to evaluate the code. Example: "Rego". Required.

source
any required

The source code for the template. Required.

  • x-kubernetes-preserve-unknown-fields: true