Something went wrong. Try again.
Webhook-to-SSE gateway with hierarchical topic routing and signature verification
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940# The audience that subscribers' ServiceAccount tokens must be issued for.# Without it, the audience is wicket.service_account_audience: wicketpaths: github.com/chrisguidry/docketeer: verify: hmac-sha256 secret: "the-github-webhook-secret" signature_header: X-Hub-Signature-256 subscribe_secret: "token-for-docketeer-subscribers" # Pods that run as these ServiceAccounts subscribe with their own # projected token instead of the secret. wicket's ServiceAccount needs # create on tokenreviews, which the ClusterRole system:auth-delegator # grants, and each subscriber mounts a token with # serviceAccountToken: { audience: wicket, path: token }. subscribe_service_accounts: - agents/fixer transom: verify: rfc9421 keys_url: https://transom.example.com/.well-known/jwks.json base_url: https://wicket.example.com registry.example.com: verify: hmac-sha256 secret: "the-registry-webhook-secret" signature_header: X-Webhook-Signature-256 subscribe_secret: "token-for-registry-subscribers" # wicket POSTs each push to Flux's receiver, signed the way Flux's # generic-hmac receiver checks, and retries until Flux takes it. deliver: - name: flux url: http://webhook-receiver.flux-system.svc.cluster.local/hook/abc123 filter: [payload.trigger:push] sign: header: X-Signature secret: "the-flux-receiver-token" give_up_after: 1h dead_letter: wicket/undelivered # Dead letters need the subscribe protection of the path they come from. wicket/undelivered: subscribe_secret: "token-for-registry-subscribers"