...
1# Copyright 2020 Google LLC
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: apiextensions.k8s.io/v1
16kind: CustomResourceDefinition
17metadata:
18 annotations:
19 cnrm.cloud.google.com/version: 1.106.0
20 creationTimestamp: null
21 labels:
22 cnrm.cloud.google.com/managed-by-kcc: "true"
23 cnrm.cloud.google.com/stability-level: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computeimages.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeImage
33 plural: computeimages
34 shortNames:
35 - gcpcomputeimage
36 - gcpcomputeimages
37 singular: computeimage
38 scope: Namespaced
39 versions:
40 - additionalPrinterColumns:
41 - jsonPath: .metadata.creationTimestamp
42 name: Age
43 type: date
44 - description: When 'True', the most recent reconcile of the resource succeeded
45 jsonPath: .status.conditions[?(@.type=='Ready')].status
46 name: Ready
47 type: string
48 - description: The reason for the value in 'Ready'
49 jsonPath: .status.conditions[?(@.type=='Ready')].reason
50 name: Status
51 type: string
52 - description: The last transition time for the value in 'Status'
53 jsonPath: .status.conditions[?(@.type=='Ready')].lastTransitionTime
54 name: Status Age
55 type: date
56 name: v1beta1
57 schema:
58 openAPIV3Schema:
59 properties:
60 apiVersion:
61 description: 'apiVersion defines the versioned schema of this representation
62 of an object. Servers should convert recognized schemas to the latest
63 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources'
64 type: string
65 kind:
66 description: 'kind is a string value representing the REST resource this
67 object represents. Servers may infer this from the endpoint the client
68 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds'
69 type: string
70 metadata:
71 type: object
72 spec:
73 properties:
74 description:
75 description: |-
76 Immutable. An optional description of this resource. Provide this property when
77 you create the resource.
78 type: string
79 diskRef:
80 description: |-
81 The source disk to create this image based on.
82 You must provide either this property or the
83 rawDisk.source property but not both to create an image.
84 oneOf:
85 - not:
86 required:
87 - external
88 required:
89 - name
90 - not:
91 anyOf:
92 - required:
93 - name
94 - required:
95 - namespace
96 required:
97 - external
98 properties:
99 external:
100 description: 'Allowed value: The `selfLink` field of a `ComputeDisk`
101 resource.'
102 type: string
103 name:
104 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
105 type: string
106 namespace:
107 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
108 type: string
109 type: object
110 diskSizeGb:
111 description: Immutable. Size of the image when restored onto a persistent
112 disk (in GB).
113 type: integer
114 family:
115 description: |-
116 Immutable. The name of the image family to which this image belongs. You can
117 create disks by specifying an image family instead of a specific
118 image name. The image family always returns its latest image that is
119 not deprecated. The name of the image family must comply with
120 RFC1035.
121 type: string
122 guestOsFeatures:
123 description: |-
124 Immutable. A list of features to enable on the guest operating system.
125 Applicable only for bootable images.
126 items:
127 properties:
128 type:
129 description: 'Immutable. The type of supported feature. Read
130 [Enabling guest operating system features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
131 to see a list of available options. Possible values: ["MULTI_IP_SUBNET",
132 "SECURE_BOOT", "SEV_CAPABLE", "UEFI_COMPATIBLE", "VIRTIO_SCSI_MULTIQUEUE",
133 "WINDOWS", "GVNIC", "SEV_LIVE_MIGRATABLE", "SEV_SNP_CAPABLE",
134 "SUSPEND_RESUME_COMPATIBLE", "TDX_CAPABLE"].'
135 type: string
136 required:
137 - type
138 type: object
139 type: array
140 imageEncryptionKey:
141 description: |-
142 Immutable. Encrypts the image using a customer-supplied encryption key.
143
144 After you encrypt an image with a customer-supplied key, you must
145 provide the same key if you use the image later (e.g. to create a
146 disk from the image).
147 properties:
148 kmsKeySelfLinkRef:
149 description: |-
150 The self link of the encryption key that is stored in Google Cloud
151 KMS.
152 oneOf:
153 - not:
154 required:
155 - external
156 required:
157 - name
158 - not:
159 anyOf:
160 - required:
161 - name
162 - required:
163 - namespace
164 required:
165 - external
166 properties:
167 external:
168 description: 'Allowed value: The `selfLink` field of a `KMSCryptoKey`
169 resource.'
170 type: string
171 name:
172 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
173 type: string
174 namespace:
175 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
176 type: string
177 type: object
178 kmsKeyServiceAccountRef:
179 description: |-
180 The service account being used for the encryption request for the
181 given KMS key. If absent, the Compute Engine default service account
182 is used.
183 oneOf:
184 - not:
185 required:
186 - external
187 required:
188 - name
189 - not:
190 anyOf:
191 - required:
192 - name
193 - required:
194 - namespace
195 required:
196 - external
197 properties:
198 external:
199 description: 'Allowed value: The `email` field of an `IAMServiceAccount`
200 resource.'
201 type: string
202 name:
203 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
204 type: string
205 namespace:
206 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
207 type: string
208 type: object
209 type: object
210 licenses:
211 description: Immutable. Any applicable license URI.
212 items:
213 type: string
214 type: array
215 rawDisk:
216 description: Immutable. The parameters of the raw disk image.
217 properties:
218 containerType:
219 description: |-
220 Immutable. The format used to encode and transmit the block device, which
221 should be TAR. This is just a container and transmission format
222 and not a runtime format. Provided by the client when the disk
223 image is created. Default value: "TAR" Possible values: ["TAR"].
224 type: string
225 sha1:
226 description: |-
227 Immutable. An optional SHA1 checksum of the disk image before unpackaging.
228 This is provided by the client when the disk image is created.
229 type: string
230 source:
231 description: |-
232 Immutable. The full Google Cloud Storage URL where disk storage is stored
233 You must provide either this property or the sourceDisk property
234 but not both.
235 type: string
236 required:
237 - source
238 type: object
239 resourceID:
240 description: Immutable. Optional. The name of the resource. Used for
241 creation and acquisition. When unset, the value of `metadata.name`
242 is used as the default.
243 type: string
244 sourceImageRef:
245 description: The source image used to create this image.
246 oneOf:
247 - not:
248 required:
249 - external
250 required:
251 - name
252 - not:
253 anyOf:
254 - required:
255 - name
256 - required:
257 - namespace
258 required:
259 - external
260 properties:
261 external:
262 description: 'Allowed value: The `selfLink` field of a `ComputeImage`
263 resource.'
264 type: string
265 name:
266 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
267 type: string
268 namespace:
269 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
270 type: string
271 type: object
272 sourceSnapshotRef:
273 description: The source snapshot used to create this image.
274 oneOf:
275 - not:
276 required:
277 - external
278 required:
279 - name
280 - not:
281 anyOf:
282 - required:
283 - name
284 - required:
285 - namespace
286 required:
287 - external
288 properties:
289 external:
290 description: 'Allowed value: The `selfLink` field of a `ComputeSnapshot`
291 resource.'
292 type: string
293 name:
294 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
295 type: string
296 namespace:
297 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
298 type: string
299 type: object
300 storageLocations:
301 description: |-
302 Immutable. Cloud Storage bucket storage location of the image
303 (regional or multi-regional).
304 Reference link: https://cloud.google.com/compute/docs/reference/rest/v1/images.
305 items:
306 type: string
307 type: array
308 type: object
309 status:
310 properties:
311 archiveSizeBytes:
312 description: |-
313 Size of the image tar.gz archive stored in Google Cloud Storage (in
314 bytes).
315 type: integer
316 conditions:
317 description: Conditions represent the latest available observation
318 of the resource's current state.
319 items:
320 properties:
321 lastTransitionTime:
322 description: Last time the condition transitioned from one status
323 to another.
324 type: string
325 message:
326 description: Human-readable message indicating details about
327 last transition.
328 type: string
329 reason:
330 description: Unique, one-word, CamelCase reason for the condition's
331 last transition.
332 type: string
333 status:
334 description: Status is the status of the condition. Can be True,
335 False, Unknown.
336 type: string
337 type:
338 description: Type is the type of the condition.
339 type: string
340 type: object
341 type: array
342 creationTimestamp:
343 description: Creation timestamp in RFC3339 text format.
344 type: string
345 labelFingerprint:
346 description: |-
347 The fingerprint used for optimistic locking of this resource. Used
348 internally during updates.
349 type: string
350 observedGeneration:
351 description: ObservedGeneration is the generation of the resource
352 that was most recently observed by the Config Connector controller.
353 If this is equal to metadata.generation, then that means that the
354 current reported status reflects the most recent desired state of
355 the resource.
356 type: integer
357 selfLink:
358 type: string
359 type: object
360 type: object
361 served: true
362 storage: true
363 subresources:
364 status: {}
365status:
366 acceptedNames:
367 kind: ""
368 plural: ""
369 conditions: []
370 storedVersions: []
View as plain text