mirror of
https://github.com/allaunthefox/SilverSight.git
synced 2026-08-20 13:27:29 +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:
|
trigger-rule:
|
||||||
and:
|
and:
|
||||||
- match:
|
- 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
|
type: payload-hmac-sha256
|
||||||
secret:
|
secret: "__WEBHOOK_SECRET__"
|
||||||
source: env
|
|
||||||
name: WEBHOOK_SECRET
|
|
||||||
parameter:
|
parameter:
|
||||||
source: header
|
source: header
|
||||||
name: X-Hub-Signature-256
|
name: X-Hub-Signature-256
|
||||||
|
|
@ -21,3 +22,4 @@
|
||||||
parameter:
|
parameter:
|
||||||
source: payload
|
source: payload
|
||||||
name: ref
|
name: ref
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue