forked from knative/eventing
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintegrationsink.yaml
More file actions
428 lines (427 loc) · 20.2 KB
/
Copy pathintegrationsink.yaml
File metadata and controls
428 lines (427 loc) · 20.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
# Copyright 2020 The Knative Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
name: integrationsinks.sinks.knative.dev
labels:
knative.dev/crd-install: "true"
duck.knative.dev/addressable: "true"
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
spec:
group: sinks.knative.dev
versions:
- name: v1alpha1
served: true
storage: true
subresources:
status: { }
schema:
openAPIV3Schema:
description: 'IntegrationSink sends events to generic event sink'
type: object
properties:
spec:
description: Spec defines the desired state of the IntegrationSink.
type: object
properties:
log:
type: object
properties:
loggerName:
type: string
title: Logger Name
description: Name of the logging category to use
default: log-sink
level:
type: string
title: Log Level
description: Logging level to use
default: INFO
logMask:
type: boolean
title: Log Mask
description: Mask sensitive information like password or passphrase in the
log
default: false
marker:
type: string
title: Marker
description: An optional Marker name to use
multiline:
type: boolean
title: Multiline
description: If enabled then each information is outputted on a newline
default: false
showAllProperties:
type: boolean
title: Show All Properties
description: Show all of the exchange properties (both internal and custom)
default: false
showBody:
type: boolean
title: Show Body
description: Show the message body
default: true
showBodyType:
type: boolean
title: Show Body Type
description: Show the body Java type
default: true
showExchangePattern:
type: boolean
title: Show Exchange Pattern
description: Shows the Message Exchange Pattern (or MEP for short)
default: true
showHeaders:
type: boolean
title: Show Headers
description: Show the headers received
default: false
showProperties:
type: boolean
title: Show Properties
description: Show the exchange properties (only custom). Use showAllProperties
to show both internal and custom properties.
default: false
showStreams:
type: boolean
title: Show Streams
description: Show the stream bodies (they may not be available in following
steps)
default: false
showCachedStreams:
type: boolean
title: Show Cached Streams
description: Whether Camel should show cached stream bodies or not.
default: true
aws:
type: object
properties:
s3:
type: object
properties:
arn:
type: string
title: Bucket Name
description: The S3 Bucket name or Amazon Resource Name (ARN).
deleteAfterRead:
type: boolean
title: Auto-delete Objects
description: Specifies to delete objects after consuming them.
default: true
moveAfterRead:
type: boolean
title: Move Objects After Delete
description: Move objects from S3 bucket to a different bucket after
they have been retrieved.
default: false
destinationBucket:
type: string
title: Destination Bucket
description: Define the destination bucket where an object must be moved
when moveAfterRead is set to true.
destinationBucketPrefix:
type: string
title: Destination Bucket Prefix
description: Define the destination bucket prefix to use when an object
must be moved, and moveAfterRead is set to true.
destinationBucketSuffix:
type: string
title: Destination Bucket Suffix
description: Define the destination bucket suffix to use when an object
must be moved, and moveAfterRead is set to true.
region:
type: string
title: AWS Region
description: The AWS region to access.
autoCreateBucket:
type: boolean
title: Autocreate Bucket
description: Specifies to automatically create the S3 bucket.
default: false
prefix:
type: string
title: Prefix
description: The AWS S3 bucket prefix to consider while searching.
example: folder/
ignoreBody:
type: boolean
title: Ignore Body
description: If true, the S3 Object body is ignored. Setting this to
true overrides any behavior defined by the `includeBody` option. If
false, the S3 object is put in the body.
default: false
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
description: The overriding endpoint URI. To use this option, you must
also select the `overrideEndpoint` option.
overrideEndpoint:
type: boolean
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use
this option, you must also provide a URI for the `uriEndpointOverride`
option.
default: false
forcePathStyle:
type: boolean
title: Force Path Style
description: Forces path style when accessing AWS S3 buckets.
default: false
delay:
type: integer
title: Delay
description: The number of milliseconds before the next poll of the
selected bucket.
default: 500
maxMessagesPerPoll:
type: integer
title: Max Messages Per Poll
description: Gets the maximum number of messages as a limit to poll
at each polling. Gets the maximum number of messages as a limit to
poll at each polling. The default value is 10. Use 0 or a negative
number to set it as unlimited.
default: 10
sqs:
type: object
properties:
arn:
type: string
title: Queue Name
description: The SQS Queue Name or ARN
deleteAfterRead:
type: boolean
title: Auto-delete Messages
description: Delete messages after consuming them
default: true
region:
type: string
title: AWS Region
description: The AWS region to access.
autoCreateQueue:
type: boolean
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
default: false
host:
type: string
title: AWS Host
description: The hostname of the Amazon AWS cloud.
default: amazonaws.com
protocol:
type: string
title: Protocol
description: The underlying protocol used to communicate with SQS
default: https
example: http or https
queueURL:
type: string
title: Queue URL
description: The full SQS Queue URL (required if using KEDA)
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
description: The overriding endpoint URI. To use this option, you must
also select the `overrideEndpoint` option.
overrideEndpoint:
type: boolean
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use
this option, you must also provide a URI for the `uriEndpointOverride`
option.
default: false
delay:
type: integer
title: Delay
description: The number of milliseconds before the next poll of the
selected stream
default: 500
greedy:
type: boolean
title: Greedy Scheduler
description: If greedy is enabled, then the polling will happen immediately
again, if the previous run polled 1 or more messages.
default: false
maxMessagesPerPoll:
type: integer
title: Max Messages Per Poll
description: The maximum number of messages to return. Amazon SQS never
returns more messages than this value (however, fewer messages might
be returned). Valid values 1 to 10. Default 1.
default: 1
waitTimeSeconds:
type: integer
title: Wait Time Seconds
description: The duration (in seconds) for which the call waits for
a message to arrive in the queue before returning. If a message is
available, the call returns sooner than WaitTimeSeconds. If no messages
are available and the wait time expires, the call does not return
a message list.
visibilityTimeout:
type: integer
title: Visibility Timeout
description: The duration (in seconds) that the received messages are
hidden from subsequent retrieve requests after being retrieved by
a ReceiveMessage request.
sns:
type: object
properties:
arn:
type: string
title: Topic Name
description: The SNS topic name name or Amazon Resource Name (ARN).
region:
type: string
title: AWS Region
description: The AWS region to access.
autoCreateTopic:
type: boolean
title: Autocreate Topic
description: Setting the autocreation of the SNS topic.
default: false
uriEndpointOverride:
type: string
title: Overwrite Endpoint URI
description: The overriding endpoint URI. To use this option, you must
also select the `overrideEndpoint` option.
overrideEndpoint:
type: boolean
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use
this option, you must also provide a URI for the `uriEndpointOverride`
option.
default: false
auth:
description: 'Auth configurations'
type: object
properties:
secret:
description: 'Auth secret'
type: object
properties:
ref:
description: |
Secret reference.
type: object
required:
- name
properties:
name:
description: 'Secret name'
type: string
serviceAccountName:
description: 'Optional ServiceAccount to assign to pod. This enables the pod default credentials to be used instead of the auth secret.'
type: string
status:
description: Status represents the current state of the IntegrationSink. This data may be out of date.
type: object
properties:
address:
description: IntegrationSink is Addressable. It exposes the endpoints as URIs to get events delivered into the used Kamelet.
type: object
properties:
name:
type: string
url:
type: string
CACerts:
type: string
audience:
type: string
addresses:
description: IntegrationSink is Addressable. It exposes the endpoints as URIs to get events delivered into the used Kamelet.
type: array
items:
type: object
properties:
name:
type: string
url:
type: string
CACerts:
type: string
audience:
type: string
annotations:
description: Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
type: object
x-kubernetes-preserve-unknown-fields: true
policies:
description: List of applied EventPolicies
type: array
items:
type: object
properties:
apiVersion:
description: The API version of the applied EventPolicy. This indicates, which version of EventPolicy is supported by the resource.
type: string
name:
description: The name of the applied EventPolicy
type: string
conditions:
description: Conditions the latest available observations of a resource's current state.
type: array
items:
type: object
required:
- type
- status
properties:
lastTransitionTime:
description: 'LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).'
type: string
message:
description: 'A human readable message indicating details about the transition.'
type: string
reason:
description: 'The reason for the condition''s last transition.'
type: string
severity:
description: 'Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.'
type: string
status:
description: 'Status of the condition, one of True, False, Unknown.'
type: string
type:
description: 'Type of condition.'
type: string
observedGeneration:
description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.
type: integer
format: int64
additionalPrinterColumns:
- name: URL
type: string
jsonPath: .status.address.url
- name: Age
type: date
jsonPath: .metadata.creationTimestamp
- name: Ready
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].status"
- name: Reason
type: string
jsonPath: ".status.conditions[?(@.type==\"Ready\")].reason"
names:
kind: IntegrationSink
plural: integrationsinks
singular: integrationsink
categories:
- all
- knative
- eventing
- sink
scope: Namespaced