Skip to content

Commit 99bedbc

Browse files
committed
SRVCOM-1288 + SRVCOM-1664: Clean up attributes, prereqs
1 parent 593823b commit 99bedbc

26 files changed

+84
-53
lines changed

images/add-trigger-odc.png

-34.5 KB
Binary file not shown.

images/delete-trigger-odc.png

-25.7 KB
Binary file not shown.

images/verify-trigger-odc.png

-70.9 KB
Binary file not shown.

modules/delete-kn-trigger.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-triggers.adoc
4+
15
:_content-type: PROCEDURE
26
[id="delete-kn-trigger_{context}"]
37
= Deleting a trigger by using the Knative CLI
@@ -8,6 +12,7 @@ You can use the `kn trigger delete` command to delete a trigger.
812

913
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
1014
* You have installed the `kn` CLI.
15+
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1116
1217
.Procedure
1318

modules/kn-trigger-describe.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-triggers.adoc
4+
15
:_content-type: PROCEDURE
26
[id="kn-trigger-describe_{context}"]
37
= Describing a trigger by using the Knative CLI
@@ -8,6 +12,7 @@ You can use the `kn trigger describe` command to print information about a trigg
812

913
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
1014
* You have installed the `kn` CLI.
15+
* You have created a trigger.
1116
1217
.Procedure
1318

modules/kn-trigger-filtering.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-triggers.adoc
4+
5+
:_content-type: REFERENCE
16
[id="kn-trigger-filtering_{context}"]
27
= Filtering events with triggers by using the Knative CLI
38

4-
In the following trigger example, only events with the attribute `type: dev.knative.samples.helloworld` will reach the event sink.
9+
In the following trigger example, only events with the attribute `type: dev.knative.samples.helloworld` are sent to the event sink:
510

611
[source,terminal]
712
----
813
$ kn trigger create <trigger_name> --broker <broker_name> --filter type=dev.knative.samples.helloworld --sink ksvc:<service_name>
914
----
1015

11-
You can also filter events using multiple attributes. The following example shows how to filter events using the type, source, and extension attributes.
16+
You can also filter events by using multiple attributes. The following example shows how to filter events using the type, source, and extension attributes:
1217

1318
[source,terminal]
1419
----

modules/kn-trigger-list.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-triggers.adoc
4+
15
:_content-type: PROCEDURE
26
[id="kn-trigger-list_{context}"]
37
= Listing triggers by using the Knative CLI

modules/kn-trigger-update.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-triggers.adoc
4+
15
:_content-type: PROCEDURE
26
[id="kn-trigger-update_{context}"]
37
= Updating a trigger by using the Knative CLI
@@ -8,6 +12,7 @@ You can use the `kn trigger update` command with certain flags to update attribu
812

913
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
1014
* You have installed the `kn` CLI.
15+
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
1116
1217
.Procedure
1318

modules/serverless-broker-types.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-using-brokers.adoc
4+
5+
:_content-type: CONCEPT
16
[id="serverless-broker-types_{context}"]
27
= Broker types
38

modules/serverless-create-broker-kn.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * /serverless/develop/serverless-using-brokers.adoc
4+
15
:_content-type: PROCEDURE
26
[id="serverless-create-broker-kn_{context}"]
37
= Creating a broker by using the Knative CLI
@@ -6,6 +10,7 @@
610

711
* The {ServerlessOperatorName} and Knative Eventing are installed on your {product-title} cluster.
812
* You have installed the `kn` CLI.
13+
* You have created a project or have access to a project with the appropriate roles and permissions to create applications and other workloads in {product-title}.
914
1015
.Procedure
1116

0 commit comments

Comments
 (0)