Skip to content

Resource Eventsource: trigger on all workflows except.... #2019

Answered by mefuller
mefuller asked this question in Q&A
Discussion options

You must be logged in to vote

I answered my own question:

This may be done with a field filter, e.g.:

      filter:
        # This indicates only watch the events happened after the service start time.
        afterStart: true
        # labels and filters are meant to provide K8s API options to filter the object list that are being watched.
        # Please read https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#api for more details.
#        # fields provide listing options to K8s API to watch objects
        fields:
#            # It's an extention of https://kubernetes.io/docs/concepts/overview/working-with-objects/field-selectors/.
#            # Unlike k8s field selector, any arbitrary fiel…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mefuller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant