Skip to content

Commit

Permalink
Update integrationsink crd (#8347)
Browse files Browse the repository at this point in the history
* Align IntegrationSink CRD w/ IntegrationSource CRD

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* 💄 Remove old job-sink references

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

* Docs change

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>

---------

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Nov 26, 2024
1 parent 01c8068 commit 65da6fc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
18 changes: 6 additions & 12 deletions config/core/resources/integrationsink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spec:
status: { }
schema:
openAPIV3Schema:
description: 'IntegrationSink triggers long-running jobs when an event occur.'
description: 'IntegrationSink sends events to generic event sink'
type: object
properties:
spec:
Expand Down Expand Up @@ -114,7 +114,7 @@ spec:
s3:
type: object
properties:
bucketNameOrArn:
arn:
type: string
title: Bucket Name
description: The S3 Bucket name or Amazon Resource Name (ARN).
Expand Down Expand Up @@ -209,7 +209,7 @@ spec:
sqs:
type: object
properties:
queueNameOrArn:
arn:
type: string
title: Queue Name
description: The SQS Queue Name or ARN
Expand All @@ -227,7 +227,7 @@ spec:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
default: false
amazonAWSHost:
host:
type: string
title: AWS Host
description: The hostname of the Amazon AWS cloud.
Expand Down Expand Up @@ -320,7 +320,7 @@ spec:
type: object
properties:
address:
description: IntegrationSink is Addressable. It exposes the endpoint as an URI to schedule long running jobs when an even occurs.
description: IntegrationSink is Addressable. It exposes the endpoints as URIs to get events delivered into the used Kamelet.
type: object
properties:
name:
Expand All @@ -332,7 +332,7 @@ spec:
audience:
type: string
addresses:
description: IntegrationSink is Addressable. It exposes the endpoint as an URI to schedule long running jobs when an even occurs.
description: IntegrationSink is Addressable. It exposes the endpoints as URIs to get events delivered into the used Kamelet.
type: array
items:
type: object
Expand All @@ -345,12 +345,6 @@ spec:
type: string
audience:
type: string
job:
type: object
properties:
selector:
type: string
description: Label selector for all scheduled jobs
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
Expand Down
15 changes: 15 additions & 0 deletions docs/eventing-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -6384,6 +6384,21 @@ knative.dev/eventing/pkg/apis/common/integration/v1alpha1.Auth
</tr>
</tbody>
</table>
<h3 id="sinks.knative.dev/v1alpha1.ExecutionMode">ExecutionMode
(<code>string</code> alias)</p></h3>
<p>
</p>
<table>
<thead>
<tr>
<th>Value</th>
<th>Description</th>
</tr>
</thead>
<tbody><tr><td><p>&#34;batch&#34;</p></td>
<td></td>
</tr></tbody>
</table>
<h3 id="sinks.knative.dev/v1alpha1.IntegrationSinkSpec">IntegrationSinkSpec
</h3>
<p>
Expand Down

0 comments on commit 65da6fc

Please sign in to comment.