...
1---
2apiVersion: apiextensions.k8s.io/v1
3kind: CustomResourceDefinition
4metadata:
5 annotations:
6 controller-gen.kubebuilder.io/version: (unknown)
7 name: logginglogsinks.logging.cnrm.cloud.google.com
8spec:
9 group: logging.cnrm.cloud.google.com
10 names:
11 kind: LoggingLogSink
12 listKind: LoggingLogSinkList
13 plural: logginglogsinks
14 singular: logginglogsink
15 scope: Namespaced
16 versions:
17 - name: v1beta1
18 schema:
19 openAPIV3Schema:
20 description: LoggingLogSink is the Schema for the logging API
21 properties:
22 apiVersion:
23 description: |-
24 APIVersion defines the versioned schema of this representation of an object.
25 Servers should convert recognized schemas to the latest internal value, and
26 may reject unrecognized values.
27 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28 type: string
29 kind:
30 description: |-
31 Kind is a string value representing the REST resource this object represents.
32 Servers may infer this from the endpoint the client submits requests to.
33 Cannot be updated.
34 In CamelCase.
35 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36 type: string
37 metadata:
38 type: object
39 spec:
40 properties:
41 bigqueryOptions:
42 description: Options that affect sinks exporting data to BigQuery.
43 properties:
44 usePartitionedTables:
45 description: Whether to use BigQuery's partition tables. By default,
46 Logging creates dated tables based on the log entries' timestamps,
47 e.g. syslog_20170523. With partitioned tables the date suffix
48 is no longer present and special query syntax has to be used
49 instead. In both cases, tables are sharded based on UTC timezone.
50 type: boolean
51 required:
52 - usePartitionedTables
53 type: object
54 description:
55 description: A description of this sink. The maximum length of the
56 description is 8000 characters.
57 type: string
58 destination:
59 properties:
60 bigQueryDatasetRef:
61 properties:
62 external:
63 description: The external name of the referenced resource
64 type: string
65 kind:
66 description: Kind of the referent.
67 type: string
68 name:
69 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
70 type: string
71 namespace:
72 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
73 type: string
74 type: object
75 loggingLogBucketRef:
76 description: Only `external` field is supported to configure the
77 reference.
78 properties:
79 external:
80 description: The external name of the referenced resource
81 type: string
82 kind:
83 description: Kind of the referent.
84 type: string
85 name:
86 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
87 type: string
88 namespace:
89 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
90 type: string
91 type: object
92 pubSubTopicRef:
93 properties:
94 external:
95 description: The external name of the referenced resource
96 type: string
97 kind:
98 description: Kind of the referent.
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 storageBucketRef:
108 properties:
109 external:
110 description: The external name of the referenced resource
111 type: string
112 kind:
113 description: Kind of the referent.
114 type: string
115 name:
116 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
117 type: string
118 namespace:
119 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
120 type: string
121 type: object
122 type: object
123 disabled:
124 description: If set to True, then this sink is disabled and it does
125 not export any log entries.
126 type: boolean
127 exclusions:
128 description: Log entries that match any of the exclusion filters will
129 not be exported. If a log entry is matched by both filter and one
130 of exclusion's filters, it will not be exported.
131 items:
132 properties:
133 description:
134 description: A description of this exclusion.
135 type: string
136 disabled:
137 description: If set to True, then this exclusion is disabled
138 and it does not exclude any log entries.
139 type: boolean
140 filter:
141 description: An advanced logs filter that matches the log entries
142 to be excluded. By using the sample function, you can exclude
143 less than 100% of the matching log entries.
144 type: string
145 name:
146 description: A client-assigned identifier, such as "load-balancer-exclusion".
147 Identifiers are limited to 100 characters and can include
148 only letters, digits, underscores, hyphens, and periods. First
149 character has to be alphanumeric.
150 type: string
151 required:
152 - filter
153 - name
154 type: object
155 type: array
156 filter:
157 description: The filter to apply when exporting logs. Only log entries
158 that match the filter are exported.
159 type: string
160 folderRef:
161 description: |-
162 The folder in which to create the sink. Only one of projectRef,
163 folderRef, or organizationRef may be specified.
164 properties:
165 external:
166 description: The external name of the referenced resource
167 type: string
168 kind:
169 description: Kind of the referent.
170 type: string
171 name:
172 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
173 type: string
174 namespace:
175 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
176 type: string
177 type: object
178 includeChildren:
179 description: Immutable. Whether or not to include children organizations
180 in the sink export. If true, logs associated with child projects
181 are also exported; otherwise only logs relating to the provided
182 organization are included.
183 type: boolean
184 organizationRef:
185 description: |-
186 The organization in which to create the sink. Only one of projectRef,
187 folderRef, or organizationRef may be specified.
188 properties:
189 external:
190 description: The external name of the referenced resource
191 type: string
192 kind:
193 description: Kind of the referent.
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 projectRef:
203 description: |-
204 The project in which to create the sink. Only one of projectRef,
205 folderRef, or organizationRef may be specified.
206 properties:
207 external:
208 description: The external name of the referenced resource
209 type: string
210 kind:
211 description: Kind of the referent.
212 type: string
213 name:
214 description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
215 type: string
216 namespace:
217 description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
218 type: string
219 type: object
220 resourceID:
221 description: Immutable. Optional. The name of the resource. Used for
222 creation and acquisition. When unset, the value of `metadata.name`
223 is used as the default.
224 type: string
225 uniqueWriterIdentity:
226 description: Immutable. Whether or not to create a unique identity
227 associated with this sink. If false (the default), then the writer_identity
228 used is serviceAccount:cloud-logs@system.gserviceaccount.com. If
229 true, then a unique service account is created and used for this
230 sink. If you wish to publish logs across projects, you must set
231 unique_writer_identity to true.
232 type: boolean
233 required:
234 - destination
235 type: object
236 status:
237 properties:
238 conditions:
239 description: |-
240 Conditions represent the latest available observations of the
241 LoggingLogSink's current state.
242 items:
243 properties:
244 lastTransitionTime:
245 description: Last time the condition transitioned from one status
246 to another.
247 type: string
248 message:
249 description: Human-readable message indicating details about
250 last transition.
251 type: string
252 reason:
253 description: |-
254 Unique, one-word, CamelCase reason for the condition's last
255 transition.
256 type: string
257 status:
258 description: Status is the status of the condition. Can be True,
259 False, Unknown.
260 type: string
261 type:
262 description: Type is the type of the condition.
263 type: string
264 type: object
265 type: array
266 observedGeneration:
267 description: ObservedGeneration is the generation of the resource
268 that was most recently observed by the Config Connector controller.
269 If this is equal to metadata.generation, then that means that the
270 current reported status reflects the most recent desired state of
271 the resource.
272 type: integer
273 writerIdentity:
274 description: The identity associated with this sink. This identity
275 must be granted write access to the configured destination.
276 type: string
277 type: object
278 type: object
279 served: true
280 storage: true
View as plain text