expression will be evaluated by CEL to create an apply configuration. ref: https://github.com/google/cel-spec
Apply configurations are declared in CEL using object initialization. For example, this CEL expression returns an apply configuration to set a single field:
Object{
spec: Object.spec{
serviceAccountName: "example"
}
}
Apply configurations may not modify atomic structs, maps or arrays due to the risk of accidental deletion of values not included in the apply configuration.
CEL expressions have access to the object types needed to create apply configurations:
CEL expressions have access to the contents of the API request, organized into CEL variables as well as some other useful variables:
The apiVersion
, kind
, metadata.name
and metadata.generateName
are always accessible from the root of the object. No other metadata properties are accessible.
Only property names of the form [a-zA-Z_.-/][a-zA-Z0-9_.-/]*
are accessible. Required.
Generated using TypeDoc
ApplyConfiguration defines the desired configuration values of an object.
IoK8sApiAdmissionregistrationV1alpha1ApplyConfiguration