-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial PR for kn trigger
commands
#19756
Conversation
The preview will be available shortly at: |
7eb7183
to
4078f56
Compare
1cbe7fc
to
208c353
Compare
/cc @rhuss |
45097a1
to
e7453d1
Compare
|
||
To create a trigger, enter the following command: | ||
---- | ||
$ kn trigger create <TRIGGER-NAME> --broker <BROKER-NAME> --filter <KEY=VALUE> --sink <SINK> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As Michal stated above. We should probably note that current kn
requires filter. So no change for now, until it's fixed.
You can also remove a filter attribute from a trigger. | ||
For example, you can remove the filter attribute with key `type`: | ||
---- | ||
$ kn trigger update mytrigger --filter type- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The removal of filter with --filter type-
doesn't work currently.
57e9d23
to
ab78e77
Compare
The |
QE approved |
kn trigger
commandskn trigger
commands
@abrennan89 Just a few minor comments from me. Overall, looks good! |
Thanks @ahardin-rh - can we get this merged today please? It applies for 4.3 and 4.4 |
/cherrypick enterprise-4.3 |
/cherrypick enterprise-4.4 |
@ahardin-rh: new pull request created: #20595 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@ahardin-rh: new pull request created: #20596 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
No description provided.