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