eventing.knative.dev / v1 / Trigger
- object
.spec
Spec defines the desired state of the Trigger.
- string
.spec .broker
Broker is the broker that this trigger receives events from.
- object
.spec .brokerRef
Reference to a broker that is enabled for cross-namespace referencing. You can specify only the following fields of the KReference: kind, apiVersion, name and namespace.
- string
.spec .brokerRef .apiVersion
API version of the referent.
- string
.spec .brokerRef .kind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- string
.spec .brokerRef .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- string
.spec .brokerRef .namespace
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
- object
.spec .delivery
Delivery contains the delivery spec for this specific trigger.
- string
.spec .delivery .backoffDelay
BackoffDelay is the delay before retrying. More information on Duration format: - https://www.iso.org/iso-8601-date-and-time-format.html - https://en.wikipedia.org/wiki/ISO_8601 For linear policy, backoff delay is backoffDelay*
. For exponential policy, backoff delay is backoffDelay*2^ . - string
.spec .delivery .backoffPolicy
BackoffPolicy is the retry backoff policy (linear, exponential).
- object
.spec .delivery .deadLetterSink
DeadLetterSink is the sink receiving event that could not be sent to a destination.
- object
.spec .delivery .deadLetterSink .ref
Ref points to an Addressable.
- string
.spec .delivery .deadLetterSink .ref .apiVersion
API version of the referent.
- string
.spec .delivery .deadLetterSink .ref .kind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- string
.spec .delivery .deadLetterSink .ref .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- string
.spec .delivery .deadLetterSink .ref .namespace
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is optional field, it gets defaulted to the object holding it if left out.
- string
.spec .delivery .deadLetterSink .uri
URI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
- string
.spec .delivery .deadLetterSink .CACerts
Certification Authority (CA) certificates in PEM format that the source trusts when sending events to the sink.
- string
.spec .delivery .deadLetterSink .audience
Audience is the OIDC audience. This only needs to be set if the target is not an Addressable and thus the Audience can’t be received from the target itself. If specified, it takes precedence over the target’s Audience.
- integer
.spec .delivery .retry
Retry is the minimum number of retries the sender should attempt when sending an event before moving it to the dead letter sink.
- object
.spec .filter
Filter is the filter to apply against all events from the Broker. Only events that pass this filter will be sent to the Subscriber. If not specified, will default to allowing all events.
- object
.spec .filter .attributes
Attributes filters events by exact match on event context attributes. Each key in the map is compared with the equivalent key in the event context. An event passes the filter if all values are equal to the specified values. Nested context attributes are not supported as keys. Only string values are supported.
- object
.spec .subscriber
Subscriber is the addressable that receives events from the Broker that pass the Filter. It is required.
- object
.spec .subscriber .ref
Ref points to an Addressable.
- string
.spec .subscriber .ref .apiVersion
API version of the referent.
- string
.spec .subscriber .ref .kind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- string
.spec .subscriber .ref .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- string
.spec .subscriber .ref .namespace
Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ This is optional field, it gets defaulted to the object holding it if left out.
- string
.spec .subscriber .uri
URI can be an absolute URL(non-empty scheme and non-empty host) pointing to the target or a relative URI. Relative URIs will be resolved using the base URI retrieved from Ref.
- string
.spec .subscriber .CACerts
Certification Authority (CA) certificates in PEM format that the source trusts when sending events to the sink.
- string
.spec .subscriber .audience
Audience is the OIDC audience. This only needs to be set if the target is not an Addressable and thus the Audience can’t be received from the target itself. If specified, it takes precedence over the target’s Audience.
- object
.status
Status represents the current state of the Trigger. This data may be out of date.
- object
.status .annotations
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.
- object
.status .auth
Auth provides the relevant information for OIDC authentication.
- string
.status .auth .serviceAccountName
ServiceAccountName is the name of the generated service account used for this components OIDC authentication.
- array
.status .conditions
Conditions the latest available observations of a resource’s current state.
- string
.status .conditions[] .lastTransitionTime
LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).
- string
.status .conditions[] .message
A human readable message indicating details about the transition.
- string
.status .conditions[] .reason
The reason for the condition’s last transition.
- string
.status .conditions[] .severity
Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
- string required
.status .conditions[] .status
Status of the condition, one of True, False, Unknown.
- string required
.status .conditions[] .type
Type of condition.
- string
.status .deadLetterSinkUri
DeadLetterSinkURI is the resolved URI of the dead letter sink for this Trigger, in case there is none this will fallback to it’s Broker status DeadLetterSinkURI.
- string
.status .deadLetterSinkCACerts
Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.
- string
.status .deadLetterSinkAudience
OIDC audience of the dead letter sink.
- integer
.status .observedGeneration
ObservedGeneration is the ‘Generation’ of the Service that was last processed by the controller.
- string
.status .subscriberUri
SubscriberURI is the resolved URI of the receiver for this Trigger.
- string
.status .subscriberCACerts
Certification Authority (CA) certificates in PEM format according to https://www.rfc-editor.org/rfc/rfc7468.
- string
.status .subscriberAudience
OIDC audience of the subscriber.