...
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: stable
10 cnrm.cloud.google.com/system: "true"
11 cnrm.cloud.google.com/tf2crd: "true"
12 name: logginglogsinks.logging.cnrm.cloud.google.com
13spec:
14 group: logging.cnrm.cloud.google.com
15 names:
16 categories:
17 - gcp
18 kind: LoggingLogSink
19 plural: logginglogsinks
20 shortNames:
21 - gcplogginglogsink
22 - gcplogginglogsinks
23 singular: logginglogsink
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: v1beta1
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 bigqueryOptions:
62 description: Options that affect sinks exporting data to BigQuery.
63 properties:
64 usePartitionedTables:
65 description: Whether to use BigQuery's partition tables. By default,
66 Logging creates dated tables based on the log entries' timestamps,
67 e.g. syslog_20170523. With partitioned tables the date suffix
68 is no longer present and special query syntax has to be used
69 instead. In both cases, tables are sharded based on UTC timezone.
70 type: boolean
71 required:
72 - usePartitionedTables
73 type: object
74 description:
75 description: A description of this sink. The maximum length of the
76 description is 8000 characters.
77 type: string
78 destination:
79 oneOf:
80 - required:
81 - bigQueryDatasetRef
82 - required:
83 - loggingLogBucketRef
84 - required:
85 - pubSubTopicRef
86 - required:
87 - storageBucketRef
88 properties:
89 bigQueryDatasetRef:
90 oneOf:
91 - not:
92 required:
93 - external
94 required:
95 - name
96 - not:
97 anyOf:
98 - required:
99 - name
100 - required:
101 - namespace
102 required:
103 - external
104 properties:
105 external:
106 description: 'Allowed value: string of the format `bigquery.googleapis.com/projects/{{project}}/datasets/{{value}}`,
107 where {{value}} is the `name` field of a `BigQueryDataset`
108 resource.'
109 type: string
110 name:
111 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
112 type: string
113 namespace:
114 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
115 type: string
116 type: object
117 loggingLogBucketRef:
118 description: Only `external` field is supported to configure the
119 reference.
120 oneOf:
121 - not:
122 required:
123 - external
124 required:
125 - name
126 - not:
127 anyOf:
128 - required:
129 - name
130 - required:
131 - namespace
132 required:
133 - external
134 properties:
135 external:
136 description: 'Allowed value: string of the format `logging.googleapis.com/projects/{{project}}/locations/{{location}}/buckets/{{value}}`,
137 where {{value}} is the `name` field of a `LoggingLogBucket`
138 resource.'
139 type: string
140 name:
141 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
142 type: string
143 namespace:
144 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
145 type: string
146 type: object
147 pubSubTopicRef:
148 oneOf:
149 - not:
150 required:
151 - external
152 required:
153 - name
154 - not:
155 anyOf:
156 - required:
157 - name
158 - required:
159 - namespace
160 required:
161 - external
162 properties:
163 external:
164 description: 'Allowed value: string of the format `pubsub.googleapis.com/projects/{{project}}/topics/{{value}}`,
165 where {{value}} is the `name` field of a `PubSubTopic` resource.'
166 type: string
167 name:
168 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
169 type: string
170 namespace:
171 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
172 type: string
173 type: object
174 storageBucketRef:
175 oneOf:
176 - not:
177 required:
178 - external
179 required:
180 - name
181 - not:
182 anyOf:
183 - required:
184 - name
185 - required:
186 - namespace
187 required:
188 - external
189 properties:
190 external:
191 description: 'Allowed value: string of the format `storage.googleapis.com/{{value}}`,
192 where {{value}} is the `name` field of a `StorageBucket`
193 resource.'
194 type: string
195 name:
196 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
197 type: string
198 namespace:
199 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
200 type: string
201 type: object
202 type: object
203 disabled:
204 description: If set to True, then this sink is disabled and it does
205 not export any log entries.
206 type: boolean
207 exclusions:
208 description: Log entries that match any of the exclusion filters will
209 not be exported. If a log entry is matched by both filter and one
210 of exclusion's filters, it will not be exported.
211 items:
212 properties:
213 description:
214 description: A description of this exclusion.
215 type: string
216 disabled:
217 description: If set to True, then this exclusion is disabled
218 and it does not exclude any log entries.
219 type: boolean
220 filter:
221 description: An advanced logs filter that matches the log entries
222 to be excluded. By using the sample function, you can exclude
223 less than 100% of the matching log entries.
224 type: string
225 name:
226 description: A client-assigned identifier, such as "load-balancer-exclusion".
227 Identifiers are limited to 100 characters and can include
228 only letters, digits, underscores, hyphens, and periods. First
229 character has to be alphanumeric.
230 type: string
231 required:
232 - filter
233 - name
234 type: object
235 type: array
236 filter:
237 description: The filter to apply when exporting logs. Only log entries
238 that match the filter are exported.
239 type: string
240 folderRef:
241 description: |-
242 The folder in which to create the sink. Only one of projectRef,
243 folderRef, or organizationRef may be specified.
244 oneOf:
245 - not:
246 required:
247 - external
248 required:
249 - name
250 - not:
251 anyOf:
252 - required:
253 - name
254 - required:
255 - namespace
256 required:
257 - external
258 properties:
259 external:
260 description: 'Allowed value: The `folderId` field of a `Folder`
261 resource.'
262 type: string
263 name:
264 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
265 type: string
266 namespace:
267 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
268 type: string
269 type: object
270 includeChildren:
271 description: Immutable. Whether or not to include children organizations
272 in the sink export. If true, logs associated with child projects
273 are also exported; otherwise only logs relating to the provided
274 organization are included.
275 type: boolean
276 organizationRef:
277 description: |-
278 The organization in which to create the sink. Only one of projectRef,
279 folderRef, or organizationRef may be specified.
280 oneOf:
281 - not:
282 required:
283 - external
284 required:
285 - name
286 - not:
287 anyOf:
288 - required:
289 - name
290 - required:
291 - namespace
292 required:
293 - external
294 properties:
295 external:
296 description: 'Allowed value: The `name` field of an `Organization`
297 resource.'
298 type: string
299 name:
300 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
301 type: string
302 namespace:
303 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
304 type: string
305 type: object
306 projectRef:
307 description: |-
308 The project in which to create the sink. Only one of projectRef,
309 folderRef, or organizationRef may be specified.
310 oneOf:
311 - not:
312 required:
313 - external
314 required:
315 - name
316 - not:
317 anyOf:
318 - required:
319 - name
320 - required:
321 - namespace
322 required:
323 - external
324 properties:
325 external:
326 description: 'Allowed value: The `name` field of a `Project` resource.'
327 type: string
328 name:
329 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
330 type: string
331 namespace:
332 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
333 type: string
334 type: object
335 resourceID:
336 description: Immutable. Optional. The name of the resource. Used for
337 creation and acquisition. When unset, the value of `metadata.name`
338 is used as the default.
339 type: string
340 uniqueWriterIdentity:
341 description: Immutable. Whether or not to create a unique identity
342 associated with this sink. If false (the default), then the writer_identity
343 used is serviceAccount:cloud-logs@system.gserviceaccount.com. If
344 true, then a unique service account is created and used for this
345 sink. If you wish to publish logs across projects, you must set
346 unique_writer_identity to true.
347 type: boolean
348 required:
349 - destination
350 type: object
351 status:
352 properties:
353 conditions:
354 description: Conditions represent the latest available observation
355 of the resource's current state.
356 items:
357 properties:
358 lastTransitionTime:
359 description: Last time the condition transitioned from one status
360 to another.
361 type: string
362 message:
363 description: Human-readable message indicating details about
364 last transition.
365 type: string
366 reason:
367 description: Unique, one-word, CamelCase reason for the condition's
368 last transition.
369 type: string
370 status:
371 description: Status is the status of the condition. Can be True,
372 False, Unknown.
373 type: string
374 type:
375 description: Type is the type of the condition.
376 type: string
377 type: object
378 type: array
379 observedGeneration:
380 description: ObservedGeneration is the generation of the resource
381 that was most recently observed by the Config Connector controller.
382 If this is equal to metadata.generation, then that means that the
383 current reported status reflects the most recent desired state of
384 the resource.
385 type: integer
386 writerIdentity:
387 description: The identity associated with this sink. This identity
388 must be granted write access to the configured destination.
389 type: string
390 type: object
391 required:
392 - spec
393 type: object
394 served: true
395 storage: true
396 subresources:
397 status: {}
398status:
399 acceptedNames:
400 kind: ""
401 plural: ""
402 conditions: []
403 storedVersions: []
View as plain text