...
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: alpha
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computemachineimages.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeMachineImage
33 plural: computemachineimages
34 shortNames:
35 - gcpcomputemachineimage
36 - gcpcomputemachineimages
37 singular: computemachineimage
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: v1alpha1
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: Immutable. A text description of the resource.
76 type: string
77 guestFlush:
78 description: |-
79 Immutable. Specify this to create an application consistent machine image by informing the OS to prepare for the snapshot process.
80 Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
81 type: boolean
82 machineImageEncryptionKey:
83 description: |-
84 Immutable. Encrypts the machine image using a customer-supplied encryption key.
85
86 After you encrypt a machine image with a customer-supplied key, you must
87 provide the same key if you use the machine image later (e.g. to create a
88 instance from the image).
89 properties:
90 kmsKeyName:
91 description: Immutable. The name of the encryption key that is
92 stored in Google Cloud KMS.
93 type: string
94 kmsKeyServiceAccount:
95 description: |-
96 Immutable. The service account used for the encryption request for the given KMS key.
97 If absent, the Compute Engine Service Agent service account is used.
98 type: string
99 rawKey:
100 description: |-
101 Immutable. Specifies a 256-bit customer-supplied encryption key, encoded in
102 RFC 4648 base64 to either encrypt or decrypt this resource.
103 type: string
104 sha256:
105 description: |-
106 The RFC 4648 base64 encoded SHA-256 hash of the
107 customer-supplied encryption key that protects this resource.
108 type: string
109 type: object
110 projectRef:
111 description: The project that this resource belongs to.
112 oneOf:
113 - not:
114 required:
115 - external
116 required:
117 - name
118 - not:
119 anyOf:
120 - required:
121 - name
122 - required:
123 - namespace
124 required:
125 - external
126 properties:
127 external:
128 description: 'Allowed value: The `name` field of a `Project` resource.'
129 type: string
130 name:
131 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
132 type: string
133 namespace:
134 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
135 type: string
136 type: object
137 resourceID:
138 description: Immutable. Optional. The name of the resource. Used for
139 creation and acquisition. When unset, the value of `metadata.name`
140 is used as the default.
141 type: string
142 sourceInstanceRef:
143 oneOf:
144 - not:
145 required:
146 - external
147 required:
148 - name
149 - not:
150 anyOf:
151 - required:
152 - name
153 - required:
154 - namespace
155 required:
156 - external
157 properties:
158 external:
159 description: 'Allowed value: The `selfLink` field of a `ComputeInstance`
160 resource.'
161 type: string
162 name:
163 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
164 type: string
165 namespace:
166 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
167 type: string
168 type: object
169 required:
170 - projectRef
171 - sourceInstanceRef
172 type: object
173 status:
174 properties:
175 conditions:
176 description: Conditions represent the latest available observation
177 of the resource's current state.
178 items:
179 properties:
180 lastTransitionTime:
181 description: Last time the condition transitioned from one status
182 to another.
183 type: string
184 message:
185 description: Human-readable message indicating details about
186 last transition.
187 type: string
188 reason:
189 description: Unique, one-word, CamelCase reason for the condition's
190 last transition.
191 type: string
192 status:
193 description: Status is the status of the condition. Can be True,
194 False, Unknown.
195 type: string
196 type:
197 description: Type is the type of the condition.
198 type: string
199 type: object
200 type: array
201 observedGeneration:
202 description: ObservedGeneration is the generation of the resource
203 that was most recently observed by the Config Connector controller.
204 If this is equal to metadata.generation, then that means that the
205 current reported status reflects the most recent desired state of
206 the resource.
207 type: integer
208 selfLink:
209 type: string
210 storageLocations:
211 description: The regional or multi-regional Cloud Storage bucket location
212 where the machine image is stored.
213 items:
214 type: string
215 type: array
216 type: object
217 required:
218 - spec
219 type: object
220 served: true
221 storage: true
222 subresources:
223 status: {}
224status:
225 acceptedNames:
226 kind: ""
227 plural: ""
228 conditions: []
229 storedVersions: []
View as plain text