TaskWebhook
Stability: beta -- This resource kind ships with
orloj.dev/v1and is suitable for production use, but its schema may evolve with migration guidance in future minor releases.
spec
task_ref(string): template task reference (nameornamespace/name).suspend(bool): rejects deliveries whentrue.auth(object):profile(string):generic(default) orgithub.secret_ref(string): required secret reference (nameornamespace/name).signature_header(string)signature_prefix(string)timestamp_header(string): used bygeneric.max_skew_seconds(int): timestamp tolerance forgeneric.
idempotency(object):event_id_header(string): header containing unique delivery id.dedupe_window_seconds(int): dedupe TTL.
payload(object):mode(string):raw(v1 only).input_key(string): generated task input key for raw payload.
Defaults and Validation
task_refis required and must benameornamespace/name.auth.secret_refis required.auth.profiledefaults togeneric; supported values:generic,github.- profile defaults:
generic:signature_header->X-Signaturesignature_prefix->sha256=timestamp_header->X-Timestampidempotency.event_id_header->X-Event-Id
github:signature_header->X-Hub-Signature-256signature_prefix->sha256=idempotency.event_id_header->X-GitHub-Delivery
auth.max_skew_secondsdefaults to300and must be>= 0.idempotency.dedupe_window_secondsmust be>= 0. Defaults to259200(72 hours) forgithubprofile or86400(24 hours) forgenericprofile.payload.modedefaults torawand onlyrawis allowed in v1.payload.input_keydefaults towebhook_payload.
status
phase,lastError,observedGenerationendpointID,endpointPathlastDeliveryTime,lastEventID,lastTriggeredTaskacceptedCount,duplicateCount,rejectedCount
Example: examples/resources/task-webhooks/*.yaml
See also: Task webhook concepts.