...
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/dcl2crd: "true"
23 cnrm.cloud.google.com/managed-by-kcc: "true"
24 cnrm.cloud.google.com/stability-level: stable
25 cnrm.cloud.google.com/system: "true"
26 name: networkconnectivityspokes.networkconnectivity.cnrm.cloud.google.com
27spec:
28 group: networkconnectivity.cnrm.cloud.google.com
29 names:
30 categories:
31 - gcp
32 kind: NetworkConnectivitySpoke
33 plural: networkconnectivityspokes
34 shortNames:
35 - gcpnetworkconnectivityspoke
36 - gcpnetworkconnectivityspokes
37 singular: networkconnectivityspoke
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 description:
75 description: An optional description of the spoke.
76 type: string
77 hubRef:
78 description: Immutable.
79 oneOf:
80 - not:
81 required:
82 - external
83 required:
84 - name
85 - not:
86 anyOf:
87 - required:
88 - name
89 - required:
90 - namespace
91 required:
92 - external
93 properties:
94 external:
95 description: |-
96 Immutable. The URI of the hub that this spoke is attached to.
97
98 Allowed value: The Google Cloud resource name of a `NetworkConnectivityHub` resource (format: `projects/{{project}}/locations/global/hubs/{{name}}`).
99 type: string
100 name:
101 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
102 type: string
103 namespace:
104 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
105 type: string
106 type: object
107 linkedInterconnectAttachments:
108 description: Immutable. A collection of VLAN attachment resources.
109 These resources should be redundant attachments that all advertise
110 the same prefixes to Google Cloud. Alternatively, in active/passive
111 configurations, all attachments should be capable of advertising
112 the same prefixes.
113 properties:
114 siteToSiteDataTransfer:
115 description: Immutable. A value that controls whether site-to-site
116 data transfer is enabled for these resources. Note that data
117 transfer is available only in supported locations.
118 type: boolean
119 uris:
120 description: Immutable.
121 items:
122 oneOf:
123 - not:
124 required:
125 - external
126 required:
127 - name
128 - not:
129 anyOf:
130 - required:
131 - name
132 - required:
133 - namespace
134 required:
135 - external
136 properties:
137 external:
138 description: 'Allowed value: The `selfLink` field of a `ComputeInterconnectAttachment`
139 resource.'
140 type: string
141 name:
142 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
143 type: string
144 namespace:
145 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
146 type: string
147 type: object
148 type: array
149 required:
150 - siteToSiteDataTransfer
151 - uris
152 type: object
153 linkedRouterApplianceInstances:
154 description: Immutable. The URIs of linked Router appliance resources
155 properties:
156 instances:
157 description: Immutable. The list of router appliance instances
158 items:
159 properties:
160 ipAddress:
161 description: Immutable. The IP address on the VM to use
162 for peering.
163 type: string
164 virtualMachineRef:
165 description: Immutable.
166 oneOf:
167 - not:
168 required:
169 - external
170 required:
171 - name
172 - not:
173 anyOf:
174 - required:
175 - name
176 - required:
177 - namespace
178 required:
179 - external
180 properties:
181 external:
182 description: |-
183 The URI of the virtual machine resource
184
185 Allowed value: The `selfLink` field of a `ComputeInstance` resource.
186 type: string
187 name:
188 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
189 type: string
190 namespace:
191 description: 'Namespace of the referent. More info:
192 https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
193 type: string
194 type: object
195 type: object
196 type: array
197 siteToSiteDataTransfer:
198 description: Immutable. A value that controls whether site-to-site
199 data transfer is enabled for these resources. Note that data
200 transfer is available only in supported locations.
201 type: boolean
202 required:
203 - instances
204 - siteToSiteDataTransfer
205 type: object
206 linkedVpnTunnels:
207 description: Immutable. The URIs of linked VPN tunnel resources
208 properties:
209 siteToSiteDataTransfer:
210 description: Immutable. A value that controls whether site-to-site
211 data transfer is enabled for these resources. Note that data
212 transfer is available only in supported locations.
213 type: boolean
214 uris:
215 description: Immutable.
216 items:
217 oneOf:
218 - not:
219 required:
220 - external
221 required:
222 - name
223 - not:
224 anyOf:
225 - required:
226 - name
227 - required:
228 - namespace
229 required:
230 - external
231 properties:
232 external:
233 description: 'Allowed value: The `selfLink` field of a `ComputeVPNTunnel`
234 resource.'
235 type: string
236 name:
237 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
238 type: string
239 namespace:
240 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
241 type: string
242 type: object
243 type: array
244 required:
245 - siteToSiteDataTransfer
246 - uris
247 type: object
248 location:
249 description: Immutable. The location for the resource
250 type: string
251 projectRef:
252 description: Immutable. The Project that this resource belongs to.
253 oneOf:
254 - not:
255 required:
256 - external
257 required:
258 - name
259 - not:
260 anyOf:
261 - required:
262 - name
263 - required:
264 - namespace
265 required:
266 - external
267 properties:
268 external:
269 description: |-
270 The project for the resource
271
272 Allowed value: The Google Cloud resource name of a `Project` resource (format: `projects/{{name}}`).
273 type: string
274 name:
275 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
276 type: string
277 namespace:
278 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
279 type: string
280 type: object
281 resourceID:
282 description: Immutable. Optional. The name of the resource. Used for
283 creation and acquisition. When unset, the value of `metadata.name`
284 is used as the default.
285 type: string
286 required:
287 - hubRef
288 - location
289 - projectRef
290 type: object
291 status:
292 properties:
293 conditions:
294 description: Conditions represent the latest available observation
295 of the resource's current state.
296 items:
297 properties:
298 lastTransitionTime:
299 description: Last time the condition transitioned from one status
300 to another.
301 type: string
302 message:
303 description: Human-readable message indicating details about
304 last transition.
305 type: string
306 reason:
307 description: Unique, one-word, CamelCase reason for the condition's
308 last transition.
309 type: string
310 status:
311 description: Status is the status of the condition. Can be True,
312 False, Unknown.
313 type: string
314 type:
315 description: Type is the type of the condition.
316 type: string
317 type: object
318 type: array
319 createTime:
320 description: Output only. The time the spoke was created.
321 format: date-time
322 type: string
323 observedGeneration:
324 description: ObservedGeneration is the generation of the resource
325 that was most recently observed by the Config Connector controller.
326 If this is equal to metadata.generation, then that means that the
327 current reported status reflects the most recent desired state of
328 the resource.
329 type: integer
330 state:
331 description: 'Output only. The current lifecycle state of this spoke.
332 Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING'
333 type: string
334 uniqueId:
335 description: Output only. The Google-generated UUID for the spoke.
336 This value is unique across all spoke resources. If a spoke is deleted
337 and another with the same name is created, the new spoke is assigned
338 a different unique_id.
339 type: string
340 updateTime:
341 description: Output only. The time the spoke was last updated.
342 format: date-time
343 type: string
344 type: object
345 required:
346 - spec
347 type: object
348 served: true
349 storage: true
350 subresources:
351 status: {}
352status:
353 acceptedNames:
354 kind: ""
355 plural: ""
356 conditions: []
357 storedVersions: []
View as plain text