From a36c5a7a16ea1fa5f706be6b1db6551f652a4d87 Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Wed, 4 Feb 2026 10:21:35 +1000 Subject: [PATCH] [forge] add staging ips to webhook ALLOWED_HOST_LIST settings Signed-off-by: Ryan Lerch --- roles/openshift-apps/forgejo/templates/values.yaml.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/forgejo/templates/values.yaml.j2 b/roles/openshift-apps/forgejo/templates/values.yaml.j2 index b9343f5321..0591e1a20a 100644 --- a/roles/openshift-apps/forgejo/templates/values.yaml.j2 +++ b/roles/openshift-apps/forgejo/templates/values.yaml.j2 @@ -663,8 +663,11 @@ gitea: ## @param gitea.config.webhook Webhook settings webhook: +{% if env == "staging" %} + ALLOWED_HOST_LIST: "external,10.16.166.74,10.16.166.75" +{% else %} ALLOWED_HOST_LIST: "external,10.16.163.74,10.16.163.75,10.16.163.76,10.16.163.77" - +{% endif %} ## @param gitea.config.mailer Mailer configuration (disabled by default) mailer: