Open
Description
Problem
In the new v1beta3 api for eventtypes, we are allowing users to place "variables" into template strings for the various eventtype attributes. It would be good to allow users to give more information about what values are allowed for those variables.
To accomplish this, we can add a variables
section to the spec like this:
apiVersion: eventing.knative.dev/v1beta3
kind: EventType
spec:
reference:
...
attributes:
- name: "type"
value: "event.{requestStatus}.foo"
required: true
...
variables:
- name: "requestStatus"
pattern: "req_est.%"
example: "request.failed"