POST /v1/webhooks/forgejo receives Forgejo payloads, verifies HMAC SHA256 signature, formats event into Gotify push notification. Supported events: push, pull_request, issues, issue_comment, pull_request_review_comment, release. Env vars: GOTIFY_URL, GOTIFY_APP_TOKEN, FORGEJO_WEBHOOK_SECRET Secret: gotify-webhook-secret in api namespace
This commit is contained in:
@@ -76,6 +76,22 @@ spec:
|
||||
value: "1.0.0"
|
||||
- name: OTEL_ENVIRONMENT
|
||||
value: "production"
|
||||
# Gotify integration — Forgejo webhook → push notifications
|
||||
- name: GOTIFY_URL
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: gotify-webhook-secret
|
||||
key: gotify-url
|
||||
- name: GOTIFY_APP_TOKEN
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: gotify-webhook-secret
|
||||
key: gotify-app-token
|
||||
- name: FORGEJO_WEBHOOK_SECRET
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: gotify-webhook-secret
|
||||
key: forgejo-webhook-secret
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: /etc/gateway
|
||||
|
||||
Reference in New Issue
Block a user