...
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: bigqueryconnectionconnections.bigqueryconnection.cnrm.cloud.google.com
13spec:
14 group: bigqueryconnection.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: BigQueryConnectionConnection
19 plural: bigqueryconnectionconnections
20 shortNames:
21 - gcpbigqueryconnectionconnection
22 - gcpbigqueryconnectionconnections
23 singular: bigqueryconnectionconnection
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 aws:
62 description: Connection properties specific to Amazon Web Services.
63 properties:
64 accessRole:
65 description: Authentication using Google owned service account
66 to assume into customer's AWS IAM Role.
67 properties:
68 iamRoleId:
69 description: The user’s AWS IAM Role that trusts the Google-owned
70 AWS IAM user Connection.
71 type: string
72 identity:
73 description: A unique Google-owned and Google-generated identity
74 for the Connection. This identity will be used to access
75 the user's AWS IAM Role.
76 type: string
77 required:
78 - iamRoleId
79 type: object
80 required:
81 - accessRole
82 type: object
83 azure:
84 description: Container for connection properties specific to Azure.
85 properties:
86 application:
87 description: The name of the Azure Active Directory Application.
88 type: string
89 clientId:
90 description: The client id of the Azure Active Directory Application.
91 type: string
92 customerTenantId:
93 description: The id of customer's directory that host the data.
94 type: string
95 federatedApplicationClientId:
96 description: The Azure Application (client) ID where the federated
97 credentials will be hosted.
98 type: string
99 identity:
100 description: A unique Google-owned and Google-generated identity
101 for the Connection. This identity will be used to access the
102 user's Azure Active Directory Application.
103 type: string
104 objectId:
105 description: The object id of the Azure Active Directory Application.
106 type: string
107 redirectUri:
108 description: The URL user will be redirected to after granting
109 consent during connection setup.
110 type: string
111 required:
112 - customerTenantId
113 type: object
114 cloudResource:
115 description: Container for connection properties for delegation of
116 access to GCP resources.
117 properties:
118 serviceAccountId:
119 description: The account ID of the service created for the purpose
120 of this connection.
121 type: string
122 type: object
123 cloudSpanner:
124 description: Connection properties specific to Cloud Spanner.
125 properties:
126 database:
127 description: Cloud Spanner database in the form 'project/instance/database'.
128 type: string
129 useParallelism:
130 description: If parallelism should be used when reading from Cloud
131 Spanner.
132 type: boolean
133 useServerlessAnalytics:
134 description: If the serverless analytics service should be used
135 to read data from Cloud Spanner. useParallelism must be set
136 when using serverless analytics.
137 type: boolean
138 required:
139 - database
140 type: object
141 cloudSql:
142 description: Connection properties specific to the Cloud SQL.
143 properties:
144 credential:
145 description: Cloud SQL properties.
146 properties:
147 password:
148 description: Password for database.
149 oneOf:
150 - not:
151 required:
152 - valueFrom
153 required:
154 - value
155 - not:
156 required:
157 - value
158 required:
159 - valueFrom
160 properties:
161 value:
162 description: Value of the field. Cannot be used if 'valueFrom'
163 is specified.
164 type: string
165 valueFrom:
166 description: Source for the field's value. Cannot be used
167 if 'value' is specified.
168 properties:
169 secretKeyRef:
170 description: Reference to a value with the given key
171 in the given Secret in the resource's namespace.
172 properties:
173 key:
174 description: Key that identifies the value to
175 be extracted.
176 type: string
177 name:
178 description: Name of the Secret to extract a value
179 from.
180 type: string
181 required:
182 - name
183 - key
184 type: object
185 type: object
186 type: object
187 username:
188 description: Username for database.
189 type: string
190 required:
191 - password
192 - username
193 type: object
194 database:
195 description: Database name.
196 type: string
197 instanceId:
198 description: Cloud SQL instance ID in the form project:location:instance.
199 type: string
200 serviceAccountId:
201 description: When the connection is used in the context of an
202 operation in BigQuery, this service account will serve as the
203 identity being used for connecting to the CloudSQL instance
204 specified in this connection.
205 type: string
206 type:
207 description: 'Type of the Cloud SQL database. Possible values:
208 ["DATABASE_TYPE_UNSPECIFIED", "POSTGRES", "MYSQL"].'
209 type: string
210 required:
211 - credential
212 - database
213 - instanceId
214 - type
215 type: object
216 description:
217 description: A descriptive description for the connection.
218 type: string
219 friendlyName:
220 description: A descriptive name for the connection.
221 type: string
222 location:
223 description: |-
224 Immutable. The geographic location where the connection should reside.
225 Cloud SQL instance must be in the same location as the connection
226 with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
227 Examples: US, EU, asia-northeast1, us-central1, europe-west1.
228 Spanner Connections same as spanner region
229 AWS allowed regions are aws-us-east-1
230 Azure allowed regions are azure-eastus2.
231 type: string
232 projectRef:
233 description: The project that this resource belongs to.
234 oneOf:
235 - not:
236 required:
237 - external
238 required:
239 - name
240 - not:
241 anyOf:
242 - required:
243 - name
244 - required:
245 - namespace
246 required:
247 - external
248 properties:
249 external:
250 description: 'Allowed value: The `name` field of a `Project` resource.'
251 type: string
252 name:
253 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
254 type: string
255 namespace:
256 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
257 type: string
258 type: object
259 resourceID:
260 description: Immutable. Optional. The connectionId of the resource.
261 Used for creation and acquisition. When unset, the value of `metadata.name`
262 is used as the default.
263 type: string
264 required:
265 - location
266 - projectRef
267 type: object
268 status:
269 properties:
270 conditions:
271 description: Conditions represent the latest available observation
272 of the resource's current state.
273 items:
274 properties:
275 lastTransitionTime:
276 description: Last time the condition transitioned from one status
277 to another.
278 type: string
279 message:
280 description: Human-readable message indicating details about
281 last transition.
282 type: string
283 reason:
284 description: Unique, one-word, CamelCase reason for the condition's
285 last transition.
286 type: string
287 status:
288 description: Status is the status of the condition. Can be True,
289 False, Unknown.
290 type: string
291 type:
292 description: Type is the type of the condition.
293 type: string
294 type: object
295 type: array
296 hasCredential:
297 description: True if the connection has credential assigned.
298 type: boolean
299 name:
300 description: |-
301 The resource name of the connection in the form of:
302 "projects/{project_id}/locations/{location_id}/connections/{connectionId}".
303 type: string
304 observedGeneration:
305 description: ObservedGeneration is the generation of the resource
306 that was most recently observed by the Config Connector controller.
307 If this is equal to metadata.generation, then that means that the
308 current reported status reflects the most recent desired state of
309 the resource.
310 type: integer
311 type: object
312 required:
313 - spec
314 type: object
315 served: true
316 storage: true
317 subresources:
318 status: {}
319status:
320 acceptedNames:
321 kind: ""
322 plural: ""
323 conditions: []
324 storedVersions: []
View as plain text