...
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: datastreamconnectionprofiles.datastream.cnrm.cloud.google.com
13spec:
14 group: datastream.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: DatastreamConnectionProfile
19 plural: datastreamconnectionprofiles
20 shortNames:
21 - gcpdatastreamconnectionprofile
22 - gcpdatastreamconnectionprofiles
23 singular: datastreamconnectionprofile
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 bigqueryProfile:
62 description: BigQuery warehouse profile.
63 type: object
64 x-kubernetes-preserve-unknown-fields: true
65 displayName:
66 description: Display name.
67 type: string
68 forwardSshConnectivity:
69 description: Forward SSH tunnel connectivity.
70 properties:
71 hostname:
72 description: Hostname for the SSH tunnel.
73 type: string
74 password:
75 description: Immutable. SSH password.
76 oneOf:
77 - not:
78 required:
79 - valueFrom
80 required:
81 - value
82 - not:
83 required:
84 - value
85 required:
86 - valueFrom
87 properties:
88 value:
89 description: Value of the field. Cannot be used if 'valueFrom'
90 is specified.
91 type: string
92 valueFrom:
93 description: Source for the field's value. Cannot be used
94 if 'value' is specified.
95 properties:
96 secretKeyRef:
97 description: Reference to a value with the given key in
98 the given Secret in the resource's namespace.
99 properties:
100 key:
101 description: Key that identifies the value to be extracted.
102 type: string
103 name:
104 description: Name of the Secret to extract a value
105 from.
106 type: string
107 required:
108 - name
109 - key
110 type: object
111 type: object
112 type: object
113 port:
114 description: Port for the SSH tunnel.
115 type: integer
116 privateKey:
117 description: Immutable. SSH private key.
118 oneOf:
119 - not:
120 required:
121 - valueFrom
122 required:
123 - value
124 - not:
125 required:
126 - value
127 required:
128 - valueFrom
129 properties:
130 value:
131 description: Value of the field. Cannot be used if 'valueFrom'
132 is specified.
133 type: string
134 valueFrom:
135 description: Source for the field's value. Cannot be used
136 if 'value' is specified.
137 properties:
138 secretKeyRef:
139 description: Reference to a value with the given key in
140 the given Secret in the resource's namespace.
141 properties:
142 key:
143 description: Key that identifies the value to be extracted.
144 type: string
145 name:
146 description: Name of the Secret to extract a value
147 from.
148 type: string
149 required:
150 - name
151 - key
152 type: object
153 type: object
154 type: object
155 username:
156 description: Username for the SSH tunnel.
157 type: string
158 required:
159 - hostname
160 - username
161 type: object
162 gcsProfile:
163 description: Cloud Storage bucket profile.
164 properties:
165 bucket:
166 description: The Cloud Storage bucket name.
167 type: string
168 rootPath:
169 description: The root path inside the Cloud Storage bucket.
170 type: string
171 required:
172 - bucket
173 type: object
174 location:
175 description: Immutable. The name of the location this connection profile
176 is located in.
177 type: string
178 mysqlProfile:
179 description: MySQL database profile.
180 properties:
181 hostname:
182 description: Hostname for the MySQL connection.
183 type: string
184 password:
185 description: Immutable. Password for the MySQL connection.
186 oneOf:
187 - not:
188 required:
189 - valueFrom
190 required:
191 - value
192 - not:
193 required:
194 - value
195 required:
196 - valueFrom
197 properties:
198 value:
199 description: Value of the field. Cannot be used if 'valueFrom'
200 is specified.
201 type: string
202 valueFrom:
203 description: Source for the field's value. Cannot be used
204 if 'value' is specified.
205 properties:
206 secretKeyRef:
207 description: Reference to a value with the given key in
208 the given Secret in the resource's namespace.
209 properties:
210 key:
211 description: Key that identifies the value to be extracted.
212 type: string
213 name:
214 description: Name of the Secret to extract a value
215 from.
216 type: string
217 required:
218 - name
219 - key
220 type: object
221 type: object
222 type: object
223 port:
224 description: Port for the MySQL connection.
225 type: integer
226 sslConfig:
227 description: SSL configuration for the MySQL connection.
228 properties:
229 caCertificate:
230 description: |-
231 Immutable. PEM-encoded certificate of the CA that signed the source database
232 server's certificate.
233 oneOf:
234 - not:
235 required:
236 - valueFrom
237 required:
238 - value
239 - not:
240 required:
241 - value
242 required:
243 - valueFrom
244 properties:
245 value:
246 description: Value of the field. Cannot be used if 'valueFrom'
247 is specified.
248 type: string
249 valueFrom:
250 description: Source for the field's value. Cannot be used
251 if 'value' is specified.
252 properties:
253 secretKeyRef:
254 description: Reference to a value with the given key
255 in the given Secret in the resource's namespace.
256 properties:
257 key:
258 description: Key that identifies the value to
259 be extracted.
260 type: string
261 name:
262 description: Name of the Secret to extract a value
263 from.
264 type: string
265 required:
266 - name
267 - key
268 type: object
269 type: object
270 type: object
271 caCertificateSet:
272 description: Indicates whether the clientKey field is set.
273 type: boolean
274 clientCertificate:
275 description: |-
276 Immutable. PEM-encoded certificate that will be used by the replica to
277 authenticate against the source database server. If this field
278 is used then the 'clientKey' and the 'caCertificate' fields are
279 mandatory.
280 oneOf:
281 - not:
282 required:
283 - valueFrom
284 required:
285 - value
286 - not:
287 required:
288 - value
289 required:
290 - valueFrom
291 properties:
292 value:
293 description: Value of the field. Cannot be used if 'valueFrom'
294 is specified.
295 type: string
296 valueFrom:
297 description: Source for the field's value. Cannot be used
298 if 'value' is specified.
299 properties:
300 secretKeyRef:
301 description: Reference to a value with the given key
302 in the given Secret in the resource's namespace.
303 properties:
304 key:
305 description: Key that identifies the value to
306 be extracted.
307 type: string
308 name:
309 description: Name of the Secret to extract a value
310 from.
311 type: string
312 required:
313 - name
314 - key
315 type: object
316 type: object
317 type: object
318 clientCertificateSet:
319 description: Indicates whether the clientCertificate field
320 is set.
321 type: boolean
322 clientKey:
323 description: |-
324 Immutable. PEM-encoded private key associated with the Client Certificate.
325 If this field is used then the 'client_certificate' and the
326 'ca_certificate' fields are mandatory.
327 oneOf:
328 - not:
329 required:
330 - valueFrom
331 required:
332 - value
333 - not:
334 required:
335 - value
336 required:
337 - valueFrom
338 properties:
339 value:
340 description: Value of the field. Cannot be used if 'valueFrom'
341 is specified.
342 type: string
343 valueFrom:
344 description: Source for the field's value. Cannot be used
345 if 'value' is specified.
346 properties:
347 secretKeyRef:
348 description: Reference to a value with the given key
349 in the given Secret in the resource's namespace.
350 properties:
351 key:
352 description: Key that identifies the value to
353 be extracted.
354 type: string
355 name:
356 description: Name of the Secret to extract a value
357 from.
358 type: string
359 required:
360 - name
361 - key
362 type: object
363 type: object
364 type: object
365 clientKeySet:
366 description: Indicates whether the clientKey field is set.
367 type: boolean
368 type: object
369 username:
370 description: Username for the MySQL connection.
371 type: string
372 required:
373 - hostname
374 - password
375 - username
376 type: object
377 oracleProfile:
378 description: Oracle database profile.
379 properties:
380 connectionAttributes:
381 additionalProperties:
382 type: string
383 description: Connection string attributes.
384 type: object
385 databaseService:
386 description: Database for the Oracle connection.
387 type: string
388 hostname:
389 description: Hostname for the Oracle connection.
390 type: string
391 password:
392 description: Password for the Oracle connection.
393 oneOf:
394 - not:
395 required:
396 - valueFrom
397 required:
398 - value
399 - not:
400 required:
401 - value
402 required:
403 - valueFrom
404 properties:
405 value:
406 description: Value of the field. Cannot be used if 'valueFrom'
407 is specified.
408 type: string
409 valueFrom:
410 description: Source for the field's value. Cannot be used
411 if 'value' is specified.
412 properties:
413 secretKeyRef:
414 description: Reference to a value with the given key in
415 the given Secret in the resource's namespace.
416 properties:
417 key:
418 description: Key that identifies the value to be extracted.
419 type: string
420 name:
421 description: Name of the Secret to extract a value
422 from.
423 type: string
424 required:
425 - name
426 - key
427 type: object
428 type: object
429 type: object
430 port:
431 description: Port for the Oracle connection.
432 type: integer
433 username:
434 description: Username for the Oracle connection.
435 type: string
436 required:
437 - databaseService
438 - hostname
439 - password
440 - username
441 type: object
442 postgresqlProfile:
443 description: PostgreSQL database profile.
444 properties:
445 database:
446 description: Database for the PostgreSQL connection.
447 type: string
448 hostname:
449 description: Hostname for the PostgreSQL connection.
450 type: string
451 password:
452 description: Password for the PostgreSQL connection.
453 oneOf:
454 - not:
455 required:
456 - valueFrom
457 required:
458 - value
459 - not:
460 required:
461 - value
462 required:
463 - valueFrom
464 properties:
465 value:
466 description: Value of the field. Cannot be used if 'valueFrom'
467 is specified.
468 type: string
469 valueFrom:
470 description: Source for the field's value. Cannot be used
471 if 'value' is specified.
472 properties:
473 secretKeyRef:
474 description: Reference to a value with the given key in
475 the given Secret in the resource's namespace.
476 properties:
477 key:
478 description: Key that identifies the value to be extracted.
479 type: string
480 name:
481 description: Name of the Secret to extract a value
482 from.
483 type: string
484 required:
485 - name
486 - key
487 type: object
488 type: object
489 type: object
490 port:
491 description: Port for the PostgreSQL connection.
492 type: integer
493 username:
494 description: Username for the PostgreSQL connection.
495 type: string
496 required:
497 - database
498 - hostname
499 - password
500 - username
501 type: object
502 privateConnectivity:
503 description: Private connectivity.
504 properties:
505 privateConnection:
506 description: 'A reference to a private connection resource. Format:
507 ''projects/{project}/locations/{location}/privateConnections/{name}''.'
508 type: string
509 required:
510 - privateConnection
511 type: object
512 projectRef:
513 description: The project that this resource belongs to.
514 oneOf:
515 - not:
516 required:
517 - external
518 required:
519 - name
520 - not:
521 anyOf:
522 - required:
523 - name
524 - required:
525 - namespace
526 required:
527 - external
528 properties:
529 external:
530 description: 'Allowed value: The `name` field of a `Project` resource.'
531 type: string
532 name:
533 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
534 type: string
535 namespace:
536 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
537 type: string
538 type: object
539 resourceID:
540 description: Immutable. Optional. The connectionProfileId of the resource.
541 Used for creation and acquisition. When unset, the value of `metadata.name`
542 is used as the default.
543 type: string
544 required:
545 - displayName
546 - location
547 - projectRef
548 type: object
549 status:
550 properties:
551 conditions:
552 description: Conditions represent the latest available observation
553 of the resource's current state.
554 items:
555 properties:
556 lastTransitionTime:
557 description: Last time the condition transitioned from one status
558 to another.
559 type: string
560 message:
561 description: Human-readable message indicating details about
562 last transition.
563 type: string
564 reason:
565 description: Unique, one-word, CamelCase reason for the condition's
566 last transition.
567 type: string
568 status:
569 description: Status is the status of the condition. Can be True,
570 False, Unknown.
571 type: string
572 type:
573 description: Type is the type of the condition.
574 type: string
575 type: object
576 type: array
577 name:
578 description: The resource's name.
579 type: string
580 observedGeneration:
581 description: ObservedGeneration is the generation of the resource
582 that was most recently observed by the Config Connector controller.
583 If this is equal to metadata.generation, then that means that the
584 current reported status reflects the most recent desired state of
585 the resource.
586 type: integer
587 type: object
588 required:
589 - spec
590 type: object
591 served: true
592 storage: true
593 subresources:
594 status: {}
595status:
596 acceptedNames:
597 kind: ""
598 plural: ""
599 conditions: []
600 storedVersions: []
View as plain text