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