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: stable
24 cnrm.cloud.google.com/system: "true"
25 cnrm.cloud.google.com/tf2crd: "true"
26 name: computeinterconnectattachments.compute.cnrm.cloud.google.com
27spec:
28 group: compute.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: ComputeInterconnectAttachment
33 plural: computeinterconnectattachments
34 shortNames:
35 - gcpcomputeinterconnectattachment
36 - gcpcomputeinterconnectattachments
37 singular: computeinterconnectattachment
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: v1beta1
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 adminEnabled:
75 description: |-
76 Whether the VLAN attachment is enabled or disabled. When using
77 PARTNER type this will Pre-Activate the interconnect attachment.
78 type: boolean
79 bandwidth:
80 description: |-
81 Provisioned bandwidth capacity for the interconnect attachment.
82 For attachments of type DEDICATED, the user can set the bandwidth.
83 For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth.
84 Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED,
85 Defaults to BPS_10G Possible values: ["BPS_50M", "BPS_100M", "BPS_200M", "BPS_300M", "BPS_400M", "BPS_500M", "BPS_1G", "BPS_2G", "BPS_5G", "BPS_10G", "BPS_20G", "BPS_50G"].
86 type: string
87 candidateSubnets:
88 description: |-
89 Immutable. Up to 16 candidate prefixes that can be used to restrict the allocation
90 of cloudRouterIpAddress and customerRouterIpAddress for this attachment.
91 All prefixes must be within link-local address space (169.254.0.0/16)
92 and must be /29 or shorter (/28, /27, etc). Google will attempt to select
93 an unused /29 from the supplied candidate prefix(es). The request will
94 fail if all possible /29s are in use on Google's edge. If not supplied,
95 Google will randomly select an unused /29 from all of link-local space.
96 items:
97 type: string
98 type: array
99 description:
100 description: An optional description of this resource.
101 type: string
102 edgeAvailabilityDomain:
103 description: |-
104 Immutable. Desired availability domain for the attachment. Only available for type
105 PARTNER, at creation time. For improved reliability, customers should
106 configure a pair of attachments with one per availability domain. The
107 selected availability domain will be provided to the Partner via the
108 pairing key so that the provisioned circuit will lie in the specified
109 domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY.
110 type: string
111 encryption:
112 description: |-
113 Immutable. Indicates the user-supplied encryption option of this interconnect
114 attachment. Can only be specified at attachment creation for PARTNER or
115 DEDICATED attachments.
116
117 * NONE - This is the default value, which means that the VLAN attachment
118 carries unencrypted traffic. VMs are able to send traffic to, or receive
119 traffic from, such a VLAN attachment.
120
121 * IPSEC - The VLAN attachment carries only encrypted traffic that is
122 encrypted by an IPsec device, such as an HA VPN gateway or third-party
123 IPsec VPN. VMs cannot directly send traffic to, or receive traffic from,
124 such a VLAN attachment. To use HA VPN over Cloud Interconnect, the VLAN
125 attachment must be created with this option. Default value: "NONE" Possible values: ["NONE", "IPSEC"].
126 type: string
127 interconnect:
128 description: |-
129 Immutable. URL of the underlying Interconnect object that this attachment's
130 traffic will traverse through. Required if type is DEDICATED, must not
131 be set if type is PARTNER.
132 type: string
133 ipsecInternalAddresses:
134 items:
135 description: |-
136 Immutable. The addresses that have been reserved for the
137 interconnect attachment. Used only for interconnect attachment that
138 has the encryption option as IPSEC.
139
140 The addresses must be RFC 1918 IP address ranges. When creating HA
141 VPN gateway over the interconnect attachment, if the attachment is
142 configured to use an RFC 1918 IP address, then the VPN gateway's IP
143 address will be allocated from the IP address range specified
144 here.
145
146 For example, if the HA VPN gateway's interface 0 is paired to this
147 interconnect attachment, then an RFC 1918 IP address for the VPN
148 gateway interface 0 will be allocated from the IP address specified
149 for this interconnect attachment.
150
151 If this field is not specified for interconnect attachment that has
152 encryption option as IPSEC, later on when creating HA VPN gateway on
153 this interconnect attachment, the HA VPN gateway's IP address will
154 be allocated from regional external IP address pool.
155 oneOf:
156 - not:
157 required:
158 - external
159 required:
160 - name
161 - not:
162 anyOf:
163 - required:
164 - name
165 - required:
166 - namespace
167 required:
168 - external
169 properties:
170 external:
171 description: 'Allowed value: The `selfLink` field of a `ComputeAddress`
172 resource.'
173 type: string
174 name:
175 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
176 type: string
177 namespace:
178 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
179 type: string
180 type: object
181 type: array
182 mtu:
183 description: |-
184 Maximum Transmission Unit (MTU), in bytes, of packets passing through
185 this interconnect attachment. Currently, only 1440 and 1500 are allowed. If not specified, the value will default to 1440.
186 type: string
187 region:
188 description: Region where the regional interconnect attachment resides.
189 type: string
190 resourceID:
191 description: Immutable. Optional. The name of the resource. Used for
192 creation and acquisition. When unset, the value of `metadata.name`
193 is used as the default.
194 type: string
195 routerRef:
196 description: |-
197 The Cloud Router to be used for dynamic routing. This router must
198 be in the same region as this ComputeInterconnectAttachment. The
199 ComputeInterconnectAttachment will automatically connect the
200 interconnect to the network & region within which the Cloud Router
201 is configured.
202 oneOf:
203 - not:
204 required:
205 - external
206 required:
207 - name
208 - not:
209 anyOf:
210 - required:
211 - name
212 - required:
213 - namespace
214 required:
215 - external
216 properties:
217 external:
218 description: 'Allowed value: The `selfLink` field of a `ComputeRouter`
219 resource.'
220 type: string
221 name:
222 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
223 type: string
224 namespace:
225 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
226 type: string
227 type: object
228 type:
229 description: |-
230 Immutable. The type of InterconnectAttachment you wish to create. Defaults to
231 DEDICATED. Possible values: ["DEDICATED", "PARTNER", "PARTNER_PROVIDER"].
232 type: string
233 vlanTag8021q:
234 description: |-
235 Immutable. The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. When
236 using PARTNER type this will be managed upstream.
237 type: integer
238 required:
239 - region
240 - routerRef
241 type: object
242 status:
243 properties:
244 cloudRouterIpAddress:
245 description: |-
246 IPv4 address + prefix length to be configured on Cloud Router
247 Interface for this interconnect attachment.
248 type: string
249 conditions:
250 description: Conditions represent the latest available observation
251 of the resource's current state.
252 items:
253 properties:
254 lastTransitionTime:
255 description: Last time the condition transitioned from one status
256 to another.
257 type: string
258 message:
259 description: Human-readable message indicating details about
260 last transition.
261 type: string
262 reason:
263 description: Unique, one-word, CamelCase reason for the condition's
264 last transition.
265 type: string
266 status:
267 description: Status is the status of the condition. Can be True,
268 False, Unknown.
269 type: string
270 type:
271 description: Type is the type of the condition.
272 type: string
273 type: object
274 type: array
275 creationTimestamp:
276 description: Creation timestamp in RFC3339 text format.
277 type: string
278 customerRouterIpAddress:
279 description: |-
280 IPv4 address + prefix length to be configured on the customer
281 router subinterface for this interconnect attachment.
282 type: string
283 googleReferenceId:
284 description: |-
285 Google reference ID, to be used when raising support tickets with
286 Google or otherwise to debug backend connectivity issues.
287 type: string
288 observedGeneration:
289 description: ObservedGeneration is the generation of the resource
290 that was most recently observed by the Config Connector controller.
291 If this is equal to metadata.generation, then that means that the
292 current reported status reflects the most recent desired state of
293 the resource.
294 type: integer
295 pairingKey:
296 description: |-
297 [Output only for type PARTNER. Not present for DEDICATED]. The opaque
298 identifier of an PARTNER attachment used to initiate provisioning with
299 a selected partner. Of the form "XXXXX/region/domain".
300 type: string
301 partnerAsn:
302 description: |-
303 [Output only for type PARTNER. Not present for DEDICATED]. Optional
304 BGP ASN for the router that should be supplied by a layer 3 Partner if
305 they configured BGP on behalf of the customer.
306 type: string
307 privateInterconnectInfo:
308 description: |-
309 Information specific to an InterconnectAttachment. This property
310 is populated if the interconnect that this is attached to is of type DEDICATED.
311 properties:
312 tag8021q:
313 description: |-
314 802.1q encapsulation tag to be used for traffic between
315 Google and the customer, going to and from this network and region.
316 type: integer
317 type: object
318 selfLink:
319 type: string
320 state:
321 description: '[Output Only] The current state of this attachment''s
322 functionality.'
323 type: string
324 type: object
325 required:
326 - spec
327 type: object
328 served: true
329 storage: true
330 subresources:
331 status: {}
332status:
333 acceptedNames:
334 kind: ""
335 plural: ""
336 conditions: []
337 storedVersions: []
View as plain text