-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
temporary check in the types for referencing
- Loading branch information
1 parent
b0da9f9
commit 5c38aab
Showing
5 changed files
with
728 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,161 @@ | ||
|
||
--- | ||
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 | ||
singular: generaterequest | ||
scope: Namespaced | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: GenerateRequest is a request to process generate rule | ||
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: | ||
description: Spec is the information to identify the generate request | ||
properties: | ||
context: | ||
description: Context ... | ||
properties: | ||
userInfo: | ||
description: RequestInfo contains permission info carried in an | ||
admission request | ||
properties: | ||
clusterRoles: | ||
description: ClusterRoles is a list of possible clusterRoles | ||
send the request | ||
items: | ||
type: string | ||
type: array | ||
roles: | ||
description: Roles is a list of possible role send the request | ||
items: | ||
type: string | ||
type: array | ||
userInfo: | ||
description: UserInfo is the userInfo carried in the admission | ||
request | ||
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 | ||
required: | ||
- clusterRoles | ||
- roles | ||
- userInfo | ||
type: object | ||
type: object | ||
policy: | ||
description: Specifies the name of the policy | ||
type: string | ||
resource: | ||
description: ResourceSpec is the information to identify the generate | ||
request | ||
properties: | ||
apiVersion: | ||
description: Specifies resource apiVersionm | ||
type: string | ||
kind: | ||
description: Specifies resource kind | ||
type: string | ||
name: | ||
description: Specifies resource name | ||
type: string | ||
namespace: | ||
description: Specifies resource namespace | ||
type: string | ||
type: object | ||
required: | ||
- context | ||
- policy | ||
- resource | ||
type: object | ||
status: | ||
description: Status contains statistics related to generate request | ||
properties: | ||
generatedResources: | ||
description: This will track the resources that are generated by the | ||
generate Policy Will be used during clean up resources | ||
items: | ||
description: ResourceSpec information to identify the resource | ||
properties: | ||
apiVersion: | ||
description: Specifies resource apiVersionm | ||
type: string | ||
kind: | ||
description: Specifies resource kind | ||
type: string | ||
name: | ||
description: Specifies resource name | ||
type: string | ||
namespace: | ||
description: Specifies resource namespace | ||
type: string | ||
type: object | ||
type: array | ||
message: | ||
description: Specifies request status message | ||
type: string | ||
state: | ||
description: State represents state of the generate request | ||
type: string | ||
required: | ||
- state | ||
type: object | ||
required: | ||
- spec | ||
- status | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.