sigs.k8s.io/kueue@v0.6.2/config/components/crd/bases/kueue.x-k8s.io_admissionchecks.yaml (about) 1 --- 2 apiVersion: apiextensions.k8s.io/v1 3 kind: CustomResourceDefinition 4 metadata: 5 annotations: 6 controller-gen.kubebuilder.io/version: v0.14.0 7 name: admissionchecks.kueue.x-k8s.io 8 spec: 9 group: kueue.x-k8s.io 10 names: 11 kind: AdmissionCheck 12 listKind: AdmissionCheckList 13 plural: admissionchecks 14 singular: admissioncheck 15 scope: Cluster 16 versions: 17 - name: v1beta1 18 schema: 19 openAPIV3Schema: 20 description: AdmissionCheck is the Schema for the admissionchecks API 21 properties: 22 apiVersion: 23 description: |- 24 APIVersion defines the versioned schema of this representation of an object. 25 Servers should convert recognized schemas to the latest internal value, and 26 may reject unrecognized values. 27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources 28 type: string 29 kind: 30 description: |- 31 Kind is a string value representing the REST resource this object represents. 32 Servers may infer this from the endpoint the client submits requests to. 33 Cannot be updated. 34 In CamelCase. 35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 36 type: string 37 metadata: 38 type: object 39 spec: 40 description: AdmissionCheckSpec defines the desired state of AdmissionCheck 41 properties: 42 controllerName: 43 description: |- 44 controllerName is name of the controller which will actually perform 45 the checks. This is the name with which controller identifies with, 46 not necessarily a K8S Pod or Deployment name. Cannot be empty. 47 type: string 48 parameters: 49 description: Parameters identifies the resource providing additional 50 check parameters. 51 properties: 52 apiGroup: 53 description: ApiGroup is the group for the resource being referenced. 54 type: string 55 kind: 56 description: Kind is the type of the resource being referenced. 57 type: string 58 name: 59 description: Name is the name of the resource being referenced. 60 type: string 61 required: 62 - apiGroup 63 - kind 64 - name 65 type: object 66 retryDelayMinutes: 67 default: 15 68 description: |- 69 RetryDelayMinutes specifies how long to keep the workload suspended 70 after a failed check (after it transitioned to False). 71 After that the check state goes to "Unknown". 72 The default is 15 min. 73 format: int64 74 type: integer 75 required: 76 - controllerName 77 type: object 78 status: 79 description: AdmissionCheckStatus defines the observed state of AdmissionCheck 80 properties: 81 conditions: 82 description: |- 83 conditions hold the latest available observations of the AdmissionCheck 84 current state. 85 items: 86 description: "Condition contains details for one aspect of the current 87 state of this API Resource.\n---\nThis struct is intended for 88 direct use as an array at the field path .status.conditions. For 89 example,\n\n\n\ttype FooStatus struct{\n\t // Represents the 90 observations of a foo's current state.\n\t // Known .status.conditions.type 91 are: \"Available\", \"Progressing\", and \"Degraded\"\n\t // 92 +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t 93 \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\" 94 patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t 95 \ // other fields\n\t}" 96 properties: 97 lastTransitionTime: 98 description: |- 99 lastTransitionTime is the last time the condition transitioned from one status to another. 100 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 101 format: date-time 102 type: string 103 message: 104 description: |- 105 message is a human readable message indicating details about the transition. 106 This may be an empty string. 107 maxLength: 32768 108 type: string 109 observedGeneration: 110 description: |- 111 observedGeneration represents the .metadata.generation that the condition was set based upon. 112 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 113 with respect to the current state of the instance. 114 format: int64 115 minimum: 0 116 type: integer 117 reason: 118 description: |- 119 reason contains a programmatic identifier indicating the reason for the condition's last transition. 120 Producers of specific condition types may define expected values and meanings for this field, 121 and whether the values are considered a guaranteed API. 122 The value should be a CamelCase string. 123 This field may not be empty. 124 maxLength: 1024 125 minLength: 1 126 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 127 type: string 128 status: 129 description: status of the condition, one of True, False, Unknown. 130 enum: 131 - "True" 132 - "False" 133 - Unknown 134 type: string 135 type: 136 description: |- 137 type of condition in CamelCase or in foo.example.com/CamelCase. 138 --- 139 Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be 140 useful (see .node.status.conditions), the ability to deconflict is important. 141 The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) 142 maxLength: 316 143 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 144 type: string 145 required: 146 - lastTransitionTime 147 - message 148 - reason 149 - status 150 - type 151 type: object 152 type: array 153 x-kubernetes-list-map-keys: 154 - type 155 x-kubernetes-list-type: map 156 type: object 157 type: object 158 served: true 159 storage: true 160 subresources: 161 status: {}