GenerateRequest is a request to process generate rule.
5 top-level fields, 1 required · last changed in Kyverno v1.6.0
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Spec is the information to identify the generate request.
Context ...
AdmissionRequestInfoObject stores the admission request and operation details
Operation is the type of resource operation being checked for admission control
RequestInfo contains permission info carried in an admission request.
ClusterRoles is a list of possible clusterRoles send the request.
Roles is a list of possible role send the request.
UserInfo is the userInfo carried in the admission request.
Any additional information provided by the authenticator.
The names of groups this user is a part of.
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
The name that uniquely identifies this user among all active users.
Specifies the name of the policy.
ResourceSpec is the information to identify the generate request.
APIVersion specifies resource apiVersion.
Kind specifies resource kind.
Name specifies the resource name.
Namespace specifies resource namespace.
Status contains statistics related to generate request.
This will track the resources that are generated by the generate Policy. Will be used during clean up resources.
APIVersion specifies resource apiVersion.
Kind specifies resource kind.
Name specifies the resource name.
Namespace specifies resource namespace.
Specifies request status message.
State represents state of the generate request.
Source: kyverno.io_generaterequests.yaml
Changes to GenerateRequest (kyverno.io/v1) in each Kyverno version, compared to the version before it.
1 property has changed the description
Released · View GenerateRequest in v1.6.0
1 property has been added
Released · View GenerateRequest in v1.5.0
6 properties have been added
1 property is now required
2 properties are no longer required
The description of GenerateRequest has changed
6 properties have changed the description
Released · View GenerateRequest in v1.3.0
GenerateRequest was already present in this version of Kyverno, the oldest one on kubespec.dev
Released · View GenerateRequest in v1.1.7
No examples of GenerateRequest yet. Contribute one on GitHub.