mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-07-31 01:25:21 +00:00
docs(infra): document webhook secret injection pattern in hooks.yaml template
This commit is contained in:
parent
781578001d
commit
07c7e75430
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue