Skip to main content

rule_with_operations

Source: base/pkg/kusion_kubernetes/api/admissionregistration/v1/rule_with_operations.k

This is the rule_with_operations module in kusion_kubernetes.api.admissionregistration.v1 package.
This file was generated by the KCL auto-gen tool. DO NOT EDIT.
Editing this file might prove futile when you re-run the KCL auto-gen generate command.

Schema RuleWithOperations

RuleWithOperations is a tuple of Operations and Resources. It is recommended to make sure that all the tuple expansions are valid.

Attributes

Name and DescriptionTypeDefault ValueRequired
apiGroups
APIGroups is the API groups the resources belong to. '*' is all groups. If '*' is present, the length of the slice must be one. Required.
apiVersions : [str], default is Undefined, optional
APIVersions is the API versions the resources belong to. '*' is all versions. If '*' is present, the length of the slice must be one. Required.
operations : [str], default is Undefined, optional
Operations is the operations the admission hook cares about - CREATE, UPDATE, DELETE, CONNECT or * for all of those operations and any future admission operations that are added. If '*' is present, the length of the slice must be one. Required.
resources : [str], default is Undefined, optional
Resources is a list of resources this rule applies to.
[str]Undefinedoptional
apiVersions[str]Undefinedoptional
operations[str]Undefinedoptional
resources[str]Undefinedoptional
scopestrUndefinedoptional