opa gatekeeper v3.14.0

ExpansionTemplate.spec

ExpansionTemplateSpec defines the desired state of ExpansionTemplate.

4 fields
ExpansionTemplate.spec fields and descriptions
Field / TypeDescription
object[]

ApplyTo lists the specific groups, versions and kinds of generator resources which will be expanded.

enforcementAction
string

EnforcementAction specifies the enforcement action to be used for resources matching the ExpansionTemplate. Specifying an empty value will use the enforcement action specified by the Constraint in violation.

object

GeneratedGVK specifies the GVK of the resources which the generator resource creates.

templateSource
string

TemplateSource specifies the source field on the generator resource to use as the base for expanded resource. For Pod-creating generators, this is usually spec.template