2020-11-12 16:44:14 -08:00
---
apiVersion : apiextensions.k8s.io/v1
kind : CustomResourceDefinition
metadata :
annotations :
controller-gen.kubebuilder.io/version : v0.4.0
creationTimestamp : null
name : generaterequests.kyverno.io
spec :
group : kyverno.io
names :
kind : GenerateRequest
listKind : GenerateRequestList
plural : generaterequests
2020-11-18 12:07:25 -08:00
shortNames :
- gr
2020-11-12 16:44:14 -08:00
singular : generaterequest
scope : Namespaced
versions :
2020-11-18 12:07:25 -08:00
- additionalPrinterColumns :
- jsonPath : .spec.policy
name : Policy
type : string
- jsonPath : .spec.resource.kind
name : ResourceKind
type : string
- jsonPath : .spec.resource.name
name : ResourceName
type : string
- jsonPath : .spec.resource.namespace
name : ResourceNamespace
type : string
- jsonPath : .status.state
name : status
type : string
- jsonPath : .metadata.creationTimestamp
name : Age
2020-11-18 14:31:43 -08:00
type : date
2020-11-18 12:07:25 -08:00
name : v1
2020-11-12 16:44:14 -08:00
schema :
openAPIV3Schema :
2020-11-18 12:07:25 -08:00
description : GenerateRequest is a request to process generate rule.
2020-11-12 16:44:14 -08:00
properties :
apiVersion :
description : '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'
type : string
kind :
description : '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'
type : string
metadata :
type : object
spec :
2020-11-18 12:07:25 -08:00
description : Spec is the information to identify the generate request.
2020-11-12 16:44:14 -08:00
properties :
context :
description : Context ...
properties :
userInfo :
description : RequestInfo contains permission info carried in an
2020-11-18 12:07:25 -08:00
admission request.
2020-11-12 16:44:14 -08:00
properties :
clusterRoles :
description : ClusterRoles is a list of possible clusterRoles
2020-11-18 12:07:25 -08:00
send the request.
2020-11-12 16:44:14 -08:00
items :
type : string
2020-11-13 17:44:34 -08:00
nullable : true
2020-11-12 16:44:14 -08:00
type : array
roles :
2020-11-18 12:07:25 -08:00
description : Roles is a list of possible role send the request.
2020-11-12 16:44:14 -08:00
items :
type : string
2020-11-13 17:44:34 -08:00
nullable : true
2020-11-12 16:44:14 -08:00
type : array
userInfo :
description : UserInfo is the userInfo carried in the admission
2020-11-18 12:07:25 -08:00
request.
2020-11-12 16:44:14 -08:00
properties :
extra :
additionalProperties :
description : ExtraValue masks the value so protobuf
can generate
items :
type : string
type : array
description : Any additional information provided by the
authenticator.
type : object
groups :
description : The names of groups this user is a part of.
items :
type : string
type : array
uid :
description : 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.
type : string
username :
description : The name that uniquely identifies this user
among all active users.
type : string
type : object
type : object
type : object
policy :
2020-11-18 12:07:25 -08:00
description : Specifies the name of the policy.
2020-11-12 16:44:14 -08:00
type : string
resource :
description : ResourceSpec is the information to identify the generate
2020-11-18 12:07:25 -08:00
request.
2020-11-12 16:44:14 -08:00
properties :
apiVersion :
2020-11-15 22:47:55 -08:00
description : APIVersion specifies resource apiVersion.
2020-11-12 16:44:14 -08:00
type : string
kind :
2020-11-15 22:47:55 -08:00
description : Kind specifies resource kind.
2020-11-12 16:44:14 -08:00
type : string
name :
2020-11-15 22:47:55 -08:00
description : Name specifies the resource name.
2020-11-12 16:44:14 -08:00
type : string
namespace :
2020-11-15 22:47:55 -08:00
description : Namespace specifies resource namespace.
2020-11-12 16:44:14 -08:00
type : string
type : object
required :
- context
- policy
- resource
type : object
status :
2020-11-18 12:07:25 -08:00
description : Status contains statistics related to generate request.
2020-11-12 16:44:14 -08:00
properties :
generatedResources :
description : This will track the resources that are generated by the
2020-11-18 12:07:25 -08:00
generate Policy. Will be used during clean up resources.
2020-11-12 16:44:14 -08:00
items :
2020-11-15 22:47:55 -08:00
description : ResourceSpec contains information to identify a resource.
2020-11-12 16:44:14 -08:00
properties :
apiVersion :
2020-11-15 22:47:55 -08:00
description : APIVersion specifies resource apiVersion.
2020-11-12 16:44:14 -08:00
type : string
kind :
2020-11-15 22:47:55 -08:00
description : Kind specifies resource kind.
2020-11-12 16:44:14 -08:00
type : string
name :
2020-11-15 22:47:55 -08:00
description : Name specifies the resource name.
2020-11-12 16:44:14 -08:00
type : string
namespace :
2020-11-15 22:47:55 -08:00
description : Namespace specifies resource namespace.
2020-11-12 16:44:14 -08:00
type : string
type : object
type : array
message :
2020-11-18 12:07:25 -08:00
description : Specifies request status message.
2020-11-12 16:44:14 -08:00
type : string
state :
2020-11-18 12:07:25 -08:00
description : State represents state of the generate request.
2020-11-12 16:44:14 -08:00
type : string
required :
- state
type : object
required :
- spec
type : object
served : true
storage : true
2020-11-18 12:07:25 -08:00
subresources :
status : {}
2020-11-12 16:44:14 -08:00
status :
acceptedNames :
kind : ""
plural : ""
conditions : [ ]
storedVersions : [ ]