...
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: computeregionperinstanceconfigs.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeRegionPerInstanceConfig
33 plural: computeregionperinstanceconfigs
34 shortNames:
35 - gcpcomputeregionperinstanceconfig
36 - gcpcomputeregionperinstanceconfigs
37 singular: computeregionperinstanceconfig
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 minimalAction:
75 description: |-
76 The minimal action to perform on the instance during an update.
77 Default is 'NONE'. Possible values are:
78 * REPLACE
79 * RESTART
80 * REFRESH
81 * NONE.
82 type: string
83 mostDisruptiveAllowedAction:
84 description: |-
85 The most disruptive action to perform on the instance during an update.
86 Default is 'REPLACE'. Possible values are:
87 * REPLACE
88 * RESTART
89 * REFRESH
90 * NONE.
91 type: string
92 preservedState:
93 description: The preserved state for this instance.
94 properties:
95 disk:
96 description: Stateful disks for the instance.
97 items:
98 properties:
99 deleteRule:
100 description: |-
101 A value that prescribes what should happen to the stateful disk when the VM instance is deleted.
102 The available options are 'NEVER' and 'ON_PERMANENT_INSTANCE_DELETION'.
103 'NEVER' - detach the disk when the VM is deleted, but do not delete the disk.
104 'ON_PERMANENT_INSTANCE_DELETION' will delete the stateful disk when the VM is permanently
105 deleted from the instance group. Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].
106 type: string
107 deviceName:
108 description: A unique device name that is reflected into
109 the /dev/ tree of a Linux operating system running within
110 the instance.
111 type: string
112 mode:
113 description: 'The mode of the disk. Default value: "READ_WRITE"
114 Possible values: ["READ_ONLY", "READ_WRITE"].'
115 type: string
116 source:
117 description: |-
118 The URI of an existing persistent disk to attach under the specified device-name in the format
119 'projects/project-id/zones/zone/disks/disk-name'.
120 type: string
121 required:
122 - deviceName
123 - source
124 type: object
125 type: array
126 externalIp:
127 description: Preserved external IPs defined for this instance.
128 This map is keyed with the name of the network interface.
129 items:
130 properties:
131 autoDelete:
132 description: 'These stateful IPs will never be released
133 during autohealing, update or VM instance recreate operations.
134 This flag is used to configure if the IP reservation should
135 be deleted after it is no longer used by the group, e.g.
136 when the given instance or the whole group is deleted.
137 Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].'
138 type: string
139 interfaceName:
140 type: string
141 ipAddress:
142 description: Ip address representation.
143 properties:
144 address:
145 description: The URL of the reservation for this IP
146 address.
147 type: string
148 type: object
149 required:
150 - interfaceName
151 type: object
152 type: array
153 internalIp:
154 description: Preserved internal IPs defined for this instance.
155 This map is keyed with the name of the network interface.
156 items:
157 properties:
158 autoDelete:
159 description: 'These stateful IPs will never be released
160 during autohealing, update or VM instance recreate operations.
161 This flag is used to configure if the IP reservation should
162 be deleted after it is no longer used by the group, e.g.
163 when the given instance or the whole group is deleted.
164 Default value: "NEVER" Possible values: ["NEVER", "ON_PERMANENT_INSTANCE_DELETION"].'
165 type: string
166 interfaceName:
167 type: string
168 ipAddress:
169 description: Ip address representation.
170 properties:
171 address:
172 description: The URL of the reservation for this IP
173 address.
174 type: string
175 type: object
176 required:
177 - interfaceName
178 type: object
179 type: array
180 metadata:
181 additionalProperties:
182 type: string
183 description: Preserved metadata defined for this instance. This
184 is a list of key->value pairs.
185 type: object
186 type: object
187 projectRef:
188 description: The project that this resource belongs to.
189 oneOf:
190 - not:
191 required:
192 - external
193 required:
194 - name
195 - not:
196 anyOf:
197 - required:
198 - name
199 - required:
200 - namespace
201 required:
202 - external
203 properties:
204 external:
205 description: 'Allowed value: The `name` field of a `Project` resource.'
206 type: string
207 name:
208 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
209 type: string
210 namespace:
211 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
212 type: string
213 type: object
214 region:
215 description: Immutable. Region where the containing instance group
216 manager is located.
217 type: string
218 regionInstanceGroupManagerRef:
219 oneOf:
220 - not:
221 required:
222 - external
223 required:
224 - name
225 - not:
226 anyOf:
227 - required:
228 - name
229 - required:
230 - namespace
231 required:
232 - external
233 properties:
234 external:
235 description: 'Allowed value: The `name` field of a `ComputeRegionInstanceGroupManager`
236 resource.'
237 type: string
238 name:
239 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
240 type: string
241 namespace:
242 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
243 type: string
244 type: object
245 removeInstanceStateOnDestroy:
246 description: |-
247 When true, deleting this config will immediately remove any specified state from the underlying instance.
248 When false, deleting this config will *not* immediately remove any state from the underlying instance.
249 State will be removed on the next instance recreation or update.
250 type: boolean
251 resourceID:
252 description: Immutable. Optional. The name of the resource. Used for
253 creation and acquisition. When unset, the value of `metadata.name`
254 is used as the default.
255 type: string
256 required:
257 - projectRef
258 - region
259 - regionInstanceGroupManagerRef
260 type: object
261 status:
262 properties:
263 conditions:
264 description: Conditions represent the latest available observation
265 of the resource's current state.
266 items:
267 properties:
268 lastTransitionTime:
269 description: Last time the condition transitioned from one status
270 to another.
271 type: string
272 message:
273 description: Human-readable message indicating details about
274 last transition.
275 type: string
276 reason:
277 description: Unique, one-word, CamelCase reason for the condition's
278 last transition.
279 type: string
280 status:
281 description: Status is the status of the condition. Can be True,
282 False, Unknown.
283 type: string
284 type:
285 description: Type is the type of the condition.
286 type: string
287 type: object
288 type: array
289 observedGeneration:
290 description: ObservedGeneration is the generation of the resource
291 that was most recently observed by the Config Connector controller.
292 If this is equal to metadata.generation, then that means that the
293 current reported status reflects the most recent desired state of
294 the resource.
295 type: integer
296 type: object
297 required:
298 - spec
299 type: object
300 served: true
301 storage: true
302 subresources:
303 status: {}
304status:
305 acceptedNames:
306 kind: ""
307 plural: ""
308 conditions: []
309 storedVersions: []
View as plain text