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