docs(infra): document webhook secret injection pattern in hooks.yaml template

This commit is contained in:
allaun 2026-07-05 22:40:34 -05:00
parent 781578001d
commit 07c7e75430

View file

@ -8,10 +8,11 @@
trigger-rule:
and:
- match:
# Secret injected at deploy time from k8s secret webhook-secret via
# the cluster-side ConfigMap render (see infra/webhook/deployment.yaml).
# The rendered value is NOT committed to git.
type: payload-hmac-sha256
secret:
source: env
name: WEBHOOK_SECRET
secret: "__WEBHOOK_SECRET__"
parameter:
source: header
name: X-Hub-Signature-256
@ -21,3 +22,4 @@
parameter:
source: payload
name: ref