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