From f0eb4fae8badbcb6393d44846419b74be7bf620e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 24 Mar 2026 19:40:15 +0200 Subject: [PATCH] fix: openclaw task-processor use internal Forgejo URL The task-processor CronJob was failing every 5min because it used https://forgejo.viktorbarzin.me (external, via Cloudflare tunnel) which is unreachable from within the cluster. Changed to http://forgejo.forgejo.svc.cluster.local (internal ClusterIP). --- stacks/openclaw/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/stacks/openclaw/main.tf b/stacks/openclaw/main.tf index b59c94bc..c8bfcd39 100644 --- a/stacks/openclaw/main.tf +++ b/stacks/openclaw/main.tf @@ -981,6 +981,7 @@ resource "kubernetes_cron_job_v1" "task_processor" { echo "Executing task processor in pod $POD..." kubectl exec -n openclaw "$POD" -c openclaw -- \ env FORGEJO_TOKEN="$FORGEJO_TOKEN" \ + FORGEJO_URL="http://forgejo.forgejo.svc.cluster.local" \ OPENCLAW_TOKEN="$OPENCLAW_TOKEN" \ OPENCLAW_URL="https://integrate.api.nvidia.com" \ bash /workspace/infra/scripts/task-processor.sh